I'm pretty new at using CSS, especially for site layout.  I was working on 
translating a very simple site over the weekend, a couple very basic 
questions came up.

If I'm using divs with IDs for layout, is there any reason to use one or 
the other convention in my stylesheet?

div#content {...

#content {...


When specifying margins of 0 width, is one or the other of the following 
better for any reason?

margin: 12px 0 5px 0;

margin: 12px 0px 5px 0px;


What is the reason I see in some stylesheets for applying the same styles 
to both 'body' and 'html' elements?  I guess I don't understand the need 
for the 'html'.


Thanks,
J 

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to