When I try and validate my web site I get No DOCTYPE Found! Falling Back to HTML 4.01 Transitional.
This is at the top of my index.php file:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>pcgurumike</title>
<link rel="stylesheet" type="text/css" href=http://www.webdeveloper.com/forum/archive/index.php/"css/name.css" />
<link rel="shortcut icon" href=http://www.webdeveloper.com/forum/archive/index.php/"images/pcgurumike_fav_icon.ico">
</head>
Is it because I'm using an index.php file and not a index.html?
ThanksIs there any chance that there might be white space before your doctype?I will check on that and let you know.
ThanksNo white space before the doc statement.I figured it out. Since I am hosting my own web site and using zoneedit to redirect my web site to my LInux box I had to use the url with the port number.
Now it see's the DOC type.
This is at the top of my index.php file:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>pcgurumike</title>
<link rel="stylesheet" type="text/css" href=http://www.webdeveloper.com/forum/archive/index.php/"css/name.css" />
<link rel="shortcut icon" href=http://www.webdeveloper.com/forum/archive/index.php/"images/pcgurumike_fav_icon.ico">
</head>
Is it because I'm using an index.php file and not a index.html?
ThanksIs there any chance that there might be white space before your doctype?I will check on that and let you know.
ThanksNo white space before the doc statement.I figured it out. Since I am hosting my own web site and using zoneedit to redirect my web site to my LInux box I had to use the url with the port number.
Now it see's the DOC type.