Re: [css-d] universal selector horror

2006-10-17 Thread Bjoern Hoehrmann
* Raymond Rodriguez wrote:
>It's supposed to look like this in the end but I've not been  
>successful in my attempt at assigning selectors to the body. There is  
>a container on the right-hand side that I named "#infoSidebar" (line  
>73 in the CSS file) and I attempted to assign it universally to the  
>body selector since it's going to be there (same size and major  
>attributes) on every page but none of this seems to do anything.

body#infoSidebar matches . It seems what you have
is more like ... in which case you need to
use "body #infoSidebar", "body > #infoSidebar", "body div#infoSidebar"
or similar.
-- 
Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- 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/


[css-d] universal selector horror

2006-10-17 Thread Raymond Rodriguez
Hello again. I'm doing some reorganization of my CSS for this page.  
I'm focusing on getting only this page to look right and then I'll  
reassign the other pages to the new CSS file.

It's supposed to look like this in the end but I've not been  
successful in my attempt at assigning selectors to the body. There is  
a container on the right-hand side that I named "#infoSidebar" (line  
73 in the CSS file) and I attempted to assign it universally to the  
body selector since it's going to be there (same size and major  
attributes) on every page but none of this seems to do anything.

Here's what I have for the universal stuff for that container:

body#infoSidebar p, body#infoSidebar strong, body#infoSidebar ul,  
body#infoSidebar li {
font: 15px Georgia, "Times New Roman", Times, serif;
color:#666;
line-height:16px;
text-align:left;
}

body#infoSidebar p {
padding: 10px;
}

body#infoSidebar strong {
font-weight:bold;
}

body#infoSidebar a:link, body#infoSidebar a:visited {
font-weight: bold;
color:#FF9900;
text-decoration:none;
border-bottom: 1px dotted #FF9900;
}

body#infoSidebar a:hover, body#infoSidebar a:active {
font-weight: bold;
color:#FF9900;
border-bottom-style: solid;
}

Any thoughts on this would be greatly appreciated.

Thanks,

Raymond
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- 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/