Page 1 of 1
Enabling CSS on Firefox?
PostPosted: Fri May 25, 2007 1:29 pm
by rii namuras
(So I'm finally getting my website up, and though I've gotten the coding down and it works in IE, I primarily use Firefox, and it doesn't work there. I use a style.css document for the background, text, ect, and I've noticed that any other sites a style.css don't display what's in there. So I just get black text + white background in FireFox while in IE I get whatever they specified in the .css document.)
(Is there something I can do about this or do I just stamp a "best viewed in Internet Explorer" on the enter page?)
PostPosted: Fri May 25, 2007 3:20 pm
by Debitt
So you use your style.css file by putting
- Code: Select all
<link rel="stylesheet" type="text/css" href="style.css">
in the head tags, right? O~O Because it works just fine for me in Firefox when I do that.
Maybe you should try finding a CSS validator and running your code through there. IE is the only browser renders a lot of 'invalid' CSS - Firefox won't.
PostPosted: Fri May 25, 2007 3:31 pm
by rii namuras
(While I didn't have that "type text/css", I put it in and it still doesn't work.)
(As a newbie to CSS, what is a CSS validator?)
PostPosted: Sat May 26, 2007 3:54 am
by blkmage
A CSS validator checks for valid CSS, so it checks for whether your CSS meets the CSS1 or CSS2 specification defined by the World Wide Web Consortium. The reason for this is because different browsers render CSS differently, so the W3C created a spec for browsers to follow. The intention is that as long as your CSS is valid, it should display fairly much the same across all Standards-compliant browsers. Currently, the biggest non-compliant browser has been IE6. I'm not too sure about IE7, it's been a while since I've written any web pages.
http://jigsaw.w3.org/css-validator/
Also, would you mind posting your CSS here?
PostPosted: Sat May 26, 2007 7:50 am
by rii namuras
( ::ahem:: I sent it to Kokoro, who told me to take out a comma. It works perfectly now.)
(But I will definitely look into the validator - it'll come in handy, I'm sure.)
PostPosted: Sat May 26, 2007 8:33 pm
by Debitt
:3 Glad that fixed it!
PostPosted: Wed Jun 06, 2007 6:08 am
by MyrrhLynn
Yeah IE is more forgiving with bad CSS coding then Firefox. I've lost track of how many times I've been convinced Firefox is broken, only to realize that I have a quote wrong or something along those lines which is causing my image to not show up. ^_^; Ooooh I didn't have that link to the validator so that should be fun to use!