David Boccabella wrote:

This is my first CSS post so apologies on any 'errors' re protocol.



Didn't see any, but our list policies and wiki are always there to guide you should you have questions about using the list. Or you can always email [EMAIL PROTECTED] if you want to make sure something is kosher.


http://www.css-discuss.org/policies.html
http://css-discuss.incutio.com/
http://css-discuss.incutio.com/?page=PostingGuidelines

Now - our base template HTML pages use a style sheet (very complex one),
and I am placing the gathered snippets within a DIV, that way it makes
it easy to position the DIV on the page and set its width etc.

My problem is this.

The Editors Style sheet is different from our main templates one and
anything that is displayed with the DIV is subject to interaction from
the page in general

Is there a way to set a style sheet in the DIV and have the DIV process
anything that is within it using this style sheet REGARDLESS of what the
Main page style sheet is set to.

So as style sheets go - the DIV is totally separate from the page style.



The only way you can do this is if you create descendant selectors for the div that override all the main styles. Something like this:


h3 {
   color: #666;
}

#specialdiv h3 {
   color: #333;
}

Zoe

--
Zoe M. Gillenwater
Design Specialist
UNC Highway Safety Research Center
http://www.hsrc.unc.edu


______________________________________________________________________ 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