Is it possible to draw from two different stylesheets on the same HTML page? Specifically, I am looking for a local tag to override the stylesheet referenced at the top of my code.
It appears that styles defined in a CSS are order dependant. For example, the following code would render the "Hello" text in the browser in Verdana, bold.
Thanks, Todd. I still have a little bit more to go, though.
My site is going to have thousands and thousands of pieces of content that are written from the page straight from the database. Each page will have a stylesheet that it links to in the header <link href=orange.css> and I need to know if I can throw elements into the page that will look to a separate stylesheet <link href=blue.css> while the rest of the page still uses the original stylesheet. I'm beginning to think it's not possible.
I don't think so. Not in the way you are envisioning it. You could setup classes in your second style sheet, reference it in the head of the document along with the first, then set the class for the elements that you want to take on the styles in the 2nd sheet.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.