CSS and Firefox
July 15, 2004 9:02 PM   Subscribe

CSS problem wtih firefox. I have this site, it's kind of a porn site, so don't go if that's a problem for you. I can't get the css to work for mozilla/firefox. It works great in IE. No one can seem to figure out the problem. Can anyone help?

That site would be sxxxy.org. There was a link problem.
posted by nyxxxx to Education (6 answers total)
 
Did you run the HTML and CSS through the w3c validator? You should start there.
posted by mathowie at 9:09 PM on July 15, 2004


Looks like you have a lot of issues with the xhtml declaration. Get rid of all the old legacy code and I bet many of your problems go away.
posted by mathowie at 9:12 PM on July 15, 2004


what's the problem, specifically?
posted by signal at 8:26 AM on July 16, 2004


The problem is firefox doesn't read any of the css at all.
posted by nyxxxx at 11:44 AM on July 16, 2004


firefox is ignoring the css. I'm not 100% certain why but your xhtml is bad. Also, your style import is written wrong, it should look like this (line breaks are not mandatory):

@import url( styles-site.css );


Also, fix the xml and then revalidate both the style sheet and the source.
posted by Grod at 2:52 PM on July 16, 2004


I figured it out. I removed this, < !doctype html public -//w3c//dtd xhtml 1.0 transitional//enbr> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

and it worked fine. Not sure why it worked, but it does.
posted by nyxxxx at 9:17 PM on August 11, 2004


« Older Gmail Invites   |   Is my Powerbook G4 on its way out? Newer »
This thread is closed to new comments.