cad best way... or logistics of applying multiple style sheets
Jul 05, 2010; 18:57
cad
best way... or logistics of applying multiple style sheets
>You could write '#main, #gallery-bg' if you wanted the CSS properties to >affect both ID's though.
Because I don't want to mess with "main" in the base style sheet when I apply a background image to a particular page, what I did was create the following ID and applied it to the div in the page that is normally "main" in the base css.
but could I achieve a similar result with a class in the main css and apply that class to "main" div?
-------------
.... and I'm just not seeing the following clearly... and when I finally do I'll just say doh!
>and from there adjust all the other containing elements by using descendant selectors like so...
body#home #mainContent { (your style rules go here) }
Carol
..
-- This list is a free service of LassoSoft: http://www.LassoSoft.com/ Search the list archives: http://www.ListSearch.com/GoLive/Browse/ Manage your subscription: http://www.ListSearch.com/GoLive/
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!