imadmin
06-07-2009, 12:21 PM
trying to get some iframes to w3c standards
not sure on how to fix it?
http://validator.w3.org/check?uri=http%3A%2F%2Fcyba.fm%2Ftest%2Finteract%2F;accept=text%2Fhtml%2Capplication%2Fxhtml%2Bxml%2Capplication%2Fxml%3Bq%3D0.9%2C*%2F*%3Bq%3D0.8;acc ept-language=en-gb%2Cen%3Bq%3D0.5;accept-charset=ISO-8859-1%2Cutf-8%3Bq%3D0.7%2C*%3Bq%3D0.7
Replicada
06-07-2009, 06:36 PM
The code itself is very unclean and a bit all over the place, a good place to start in order to clean the code a bit is to remove these tags:
<center></center>
<b></b>
Instead use spans and use CSS to make the correct textual effects. For central aligning use the text-align function.
Then onto the fundamental issue that's throwing up many errors in W3C, this resides around the fact you have duplicated doc tags and duplicated html and body and head tags within the document. I'm strugglign to see what your trying to do with iframes as the source-code doesn't seem to show any use of them. However, a good place to fix these bugs would be to remove duplicate instances like these:
Top of document as where it should be:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
The duplicate entry:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>CybaFm Stats</title>
</head>
<body><center>
<a href="cybafm192.pls"><center><b>Now Playing:</b> GadManDubs 21.03.09</center></a></center>
</body>
</html>
The browser will get confused with this on some of the older models so hence why W3C is coughing up some major errors.
Also users browsing with screen readers would struggle on your site to locate the site's content!
Goodluck anywho.
Dan