Tuesday, April 1, 2008

CSS woes

I'm having some CSS trouble...

body {
font-size: 1em;
font-weight: normal;
font-family: Arial, Sans-serif;
color: #660099;
text-align: left;
background-color: #F2FFBF
}

I have color: #660099 in there, but my text is showing up still black in every browser except Opera (I have Firefox, IE, Safari, Opera, and K-meleon).




Update: none of my CSS is working at all except in Opera. What am I doing wrong?

Another update: blogger is putting the code in as html. how annoying. anybody got a fix?

5 comments:

Senor Venado said...

Hey Gnat,
Let me know if placing a semi-colon after the last F doesn't help.
SV

Matthew said...

Well, earlier today Gnat and I were corresponding, and I replaced my body CSS with his, and it worked....so I'd like to see your whole source code, Gnat, if you could email it.

Nathaniel said...

Well, it turns out that my problem was I had >style<

instead of

>style type="text/css"<

Beware of this!!

Nathaniel said...

PS... the inverted arrows are a hack to keep Blogger from treating it as HTML.

Matthew said...

Ah, so that was it. I knew it had to be something other than a browser issue. :p

I surmised as much about the arrows. :D