[thelist] UL - LI Margin:0px Produced Unwanted Side Effect
ben morrison
morrison.ben at gmail.com
Tue Mar 7 09:30:50 CST 2006
On 3/7/06, Rob Smith <rob.smith at lexjet.com> wrote:
> After I set my margin's and padding to 0px; I now have word wrapping in
> my <ul><li></li></ul> tags. What's up with that?
>
> * this is an example
> of what I'm trying to say.
Have you been using global reset techniques?
* {margin:0;paading:0 }
They are a great idea but you need to then reset values for all
browsers to use. For example:
li, dd, blockquote {
margin-left: 40px;
}
Obvisously there are many more that need attention, so use global reset wisely.
Ben.
More information about the thelist
mailing list