Hello!

I'm just starting with CSS (currently reading CSS Mastery, quite good book
btw :)) and got stuck on the following:

Let's say I've got a header div and a branding div. The branding div is a
"child" of header (it will hold a logo of the website). Currently, I'm doing
this the following way:

<div id="header">
 <div id="branding"></div>
</div>

CSS:

#header { ... }
#branding {...}

However, I've saw many css scripts using cascading with id. Would it make
any difference to do this way: #header #branding { ... } ?

(I can't test it right now)

Thanks in advance!

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

Reply via email to