Kempen, E.J.F. van wrote:

What exactly are you looking for? Defining that 'normal' text is black by 
default and links are blue-ish? Because that's done already, most default 
styles are uniformly, but maybe informally, defined.
>

One example that springs to mind is that the default CSS rules for unordered and ordered lists differ between browsers. Some implement the bullets with padding and list-style, while others use margins and god-knows-what. I can't really remember anymore. I've just learned that the way to get rid of the bullets across all popular browsers is:

ul, ul li {
margin: 0;
padding: 0;
list-style: none;
}

If you don't set both margin and padding, you'll see inconsistent results.

(Though perhaps this has been fixed in more recent times. I've been doing the above as an idiom for years.)

Reply via email to