View Full Version : css problem! ARG!!!!!!!!!!


PinkIce
08-24-2003, 07:04 PM
ok I'm trying to use external style sheets (i think thats what its called, lol) but its not working!!! heres my code



<LINK REL="http://sparklingsugar.dreaming-pink.com/menus/style.css" TYPE="text/css">

<head>
<style type="text/css">
<!-- BODY {background-color:transparent; color:#FFCCCC}
-->
</style></head>
stuff on me... comming soon



by the way, that page is suposed to show up in a transparent i-frame

does anyone see whats wrong with the code? becuase its not workin! please help!

Lemon Squash
08-24-2003, 07:17 PM
The <LINK REL="http://sparklingsugar.dreaming-pink.com/menus/style.css" TYPE="text/css"> bit should be in the <head> tags. :p

pb&j
08-24-2003, 07:24 PM
if you have the STYLE or COMMENT tags in your external style page, take them out.

also, if you could link to the page in question and explain exactly what it is that is not working, some further help may be available.

thanks.

duckgirl
08-25-2003, 09:42 AM
Well, it seems that there's conflction going on... if what you have is the main page, then you want the link tag to link to your stylesheet, but you don't need the style tags on the main page, unless you're doing something different from the stylesheet, in which case I wouldn't bother linking to it. And you don't need the <!-- BODY part... all you need is a simple body {contents of stylesheet;} And put your link tag after the head tag, or simply, inside the head. Oh, I think I just said what's been said before. :)