CSS margin in Firefox and IE. I'm tring to create a list <ul> with no left margin but I can't make it happen in Firefox.
I was late for work this morning, because I got stuck in Zeno's paradox.
Lists recognise just about all the syle attributes, so you should be able to define any margin you like
margin-left: 0px;
or margin: 10px 10px 10px 0px;
If you're having difficulties with this, check that you don't have another syle definition that is overriding the style on your list.
It might also help to get an answer if you send an example of your code or a link to a page where people can see it.
Firefox by default applies padding to the UL element, try setting padding-left to zero.
To get round problems with browser differences in default styles you can try using a CSS reset stylesheet. This will reset all browsers to a common baseline, but you'll have to have style rules for every element you actually want to use (eg. headings become styled like the rest of the text).
Got an answer for aviche2? Would you like to comment on the posted answers, or vote for the one which you think is the best?
Sign up for a free account, or sign in (if you're already a member).
Other people asked questions on similar topics, check out the answers they received:
Other people asked questions on various topics, and are still waiting for answer. Would be great if you can take a sec and answer them