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.
That site would be sxxxy.org. There was a link problem.
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
posted by mathowie at 9:12 PM on July 15, 2004
Response by poster: The problem is firefox doesn't read any of the css at all.
posted by nyxxxx at 11:44 AM on July 16, 2004
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
@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
Response by poster: 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
and it worked fine. Not sure why it worked, but it does.>
posted by nyxxxx at 9:17 PM on August 11, 2004
This thread is closed to new comments.
posted by mathowie at 9:09 PM on July 15, 2004