Click to See Complete Forum and Search --> : css/html problem with firefox
knowj
10-15-2005, 05:52 PM
iv made a site for my university project the problem im having is when the site is veiwed in firefox non of the links are selectable and some of the layers are misplaced.
http://www.knowj.com/Student/
http://www.knowj.com/Student/Style/style.css
the site compiles to w3c standards and veiws fine in IE i really cant see what the problem is.
thanks in advance
drhowarddrfine
10-15-2005, 06:31 PM
Never, ever design for IE. Always design for Firefox and adjust to IEs quirks and bugs.
You don't have a doctype which puts IE in quirks mode.
You have a bazillion CSS errors. VALIDATE YOUR CODE!
NogDog
10-15-2005, 06:33 PM
...
the site compiles to w3c standards and veiws fine in IE i really cant see what the problem is.
thanks in advance
Not exactly. As the validation results page states, you have no doctype declaration. Not only is the doctype a required element, but using one gets IE out of "quirks mode" and more likely to display similarly to more standards-compliant browsers.
drhowarddrfine
10-15-2005, 06:35 PM
Also, you are using some IE-only CSS. They only work in IE and nothing else.
Such as scrollbar-3dlight-color
ray326
10-16-2005, 09:43 PM
the site compiles to w3c standards
That's not what this (http://validator.w3.org/check?verbose=1&uri=http%3A//www.knowj.com/Student/) says. I suspect it will come apart in IE, too, once you put a strict doctype on the page.
knowj
10-17-2005, 07:02 AM
sorry i forgot to update it to newest one i was working on i had my ftp server settings set to another host
http://www.knowj.com/Student/index.php
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.knowj.com%2FStudent%2F&charset=utf-8+%28Unicode%2C+worldwide%29&doctype=Inline&verbose=1
what does it mean by No Character Encoding Found! Using utf-8.
and even with it sent to strict the layer i used for copyright seems to be placed relative to site banners layer rather than under links/main content layers
ray326
10-17-2005, 12:28 PM
Here's a pre-title example from my basic template.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Content-Script-Type" content="text/javascript">
<meta name="Content-Style-Type" content="text/css">
tegraphix
10-17-2005, 12:32 PM
http://www.w3.org/International/O-HTTP-charset