- From: Jens Meiert <jens.meiert@erde3.com>
- Date: Wed, 22 Sep 2004 10:54:08 +0200 (MEST)
- To: public-evangelist@w3.org
> In his article =93undoing html.css=94, he's giving a CSS that will > help =you=20 to create a fresh start and to not rely on default CSS > styles of some=20 browsers. That's just neat! > http://tantek.com/log/2004/undohtml.css * { font-size: 1em; margin: 0; padding: 0; } ul, ol { list-style: none; } a img, :link img, :visited img { border: none; } should do the trick, too. Personally, I always used to include a "* { margin: 0; padding: 0; }" rule to my style sheets which resets all the mentioned inconsistent margins and paddings among user-agents, and not only does it work perfectly (regarding the UAs I want to support -- and it's not NS 4 anymore), it of course complies with a simplification of Tantek's proposed rule. Next, to unify font-sizes, "* { font-size: 1em; }" is of course sufficient to reset font sizes for all elements, too, also reducing the presented style sheet's "complexity". Also, link differentiability (by underline) is (in this case) far more important than "minor" readability issues caused by "obscured shapes of the lower halves of words". Additionally, the visualization here is always the same, so there is no (or nearly no) inconsistency. Only some thoughts. Regards, Jens. -- Jens Meiert Interface Architect (IxD) http://meiert.com/
Received on Wednesday, 22 September 2004 08:54:42 UTC