There are some interesting articles on default stylesheets.
http://www.robertnyman.com/2005/07/15/the-most-important-css-rule/
http://kurafire.net/log/archive/2005/07/16/starting-css-based-design
http://www.meyerweb.com/eric/thoughts/2004/09/15/emreallyem-undoing-htmlcss/
> * {
> margin: 0;
> padding: 0;
> }
Global selectors may offer performance disadvantages but as mentioned in
some of the above links, web pages are generally too small to notice it. I
too use default CSS in some cases as it creates a solid foundation with
which to build on; margin and padding being the prime causes of computer
kicking...
----
On Fri, 19 Aug 2005 11:14:46 -0700, Chris Kennon wrote:
> Should this rule:
>> html, body{
>> height:100%;
>> }
> be a default on each page, like
>
> * {
> margin:0;
> padding: 0;
> }
What a great Friday afternoon question!
I haven't yet had to use that on my pages and I, too, am interested in
people's opinion.
(In other words 'bump' ;))
warmly.
Lea
~ despite it being saturday morning here... :)
--
Lea de Groot
Elysian Systems - http://elysiansystems.com/
Brisbane, Australia
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************