Stupid Girl
02-10-2004, 11:42 PM
Is it possible to link an external style sheet in the middle of a page?? I'm making a new layout for my site, and the way the colors work out, I want the menu to have different CSS codes. But I don't know if that will work. If it doesn't I'll just make it to where the whole page has the same style sheet.
stargrl329
02-10-2004, 11:52 PM
If by the "middle" you mean the body, then no, I don't believe that would work. However, you could just create classes (like object.classname{} type thing) for your menu, so that they would be different :)
Stupid Girl
02-10-2004, 11:56 PM
yeah...that's what I meant..body
how do you make the classes things? Maybe that will work. :)
stargrl329
02-10-2004, 11:59 PM
Well, for example, if you were using it on a div layer and you wanted a certain div to have a red border, you would do this:
div.redborder{ border:1px solid red; }
Then you would put this in the body:
<div class="redborder">Contents Here.</div>
You can change the "redborder" bit to whatever you want, as long as it's the same in both the HTML and CSS. You can also use classes on almost any page object you want. Good luck :D
Stupid Girl
02-11-2004, 12:02 AM
Okay, thanks a lot..I'll try it. =)