I have a site which uses lists, in IE they display with no problems, however firefox appears to add some kind of padding above the start of the lists how can I over ride this using css? Any ideas? http://www-users.york.ac.uk/~gn504/
I would love to but I have to comply with our accessibility guide lines! To allow everyone to access it
Different browsers have different amounts and types of spacing. In lists it's the worst. Where IE uses (I forget, margins or padding), FF uses the other. Remove ALL default padding and margins on everything (otherwise you'll never win the battle of the browsers) with the universal reset: * { margin: 0; padding: 0; } The * means EVERYTHING... some people have trouble with form controls after using this, although I find I even need it for them too. Stick this right at the top of your CSS before anything else. Now you can remove all instances later where you had margin: 0; padding: 0; You will now have to manually set your paddings and margins but this is for the best as you never knew what you were gonna get before.