[thelist] Adjusting UL

Max Schwanekamp lists at neptunewebworks.com
Thu Feb 16 03:54:39 CST 2006


M. Seyon wrote:
> Yes, definitely a good starting point when dealing with lists:
> ul, li
> {
> margin: 0;
> padding: 0;
> }

Go a step further and zero out margins and padding on everything, then 
use a common starting-point for the elements.  That way you can be sure 
where you stand, cross-browser.  (99.94% sure anyway!)
* {
margin: 0;
padding: 0;
}
body { ... }
p { margin: ...; padding: ...; }
a { ... }
etcetc...

-- 
Max Schwanekamp
http://www.neptunewebworks.com/



More information about the thelist mailing list