Click to See Complete Forum and Search --> : validated page still having problems...
xdementia
01-21-2007, 10:41 PM
I'm still having a lot of problems even though my page validates successfully I had to add 1 </a> and one </img> that I did not agree with for the validator, it's strange. My main issue is that the "add to cart" button appears outside of the "album" div on the third one down when viewed in IE (take a look at the page in IE you will know what I'm talking about. It all looks fine in Firefox though.
Here is the page:
http://www.existest.org/existest/releases.php
aussie girl
01-21-2007, 11:02 PM
that link doesn't pass validation you have 35 errors image and break tags should be closed like this..
<img src =name.gif etc etc /> <br />
not </img></br>
drhowarddrfine
01-21-2007, 11:08 PM
Yes, you are coding with a Xhtml doctype but using Html tags and deprecated ones at that. So you are thinking Html and that is why you "disagree" with the validator but yet the validator is correct.
xdementia
01-21-2007, 11:15 PM
my mistake, I realized I only validated the CSS, phew this validation stuff is a lot of work.
bathurst_guy
01-21-2007, 11:17 PM
Not if you code properly in the first place.
xdementia
01-21-2007, 11:38 PM
I wish it was that easy... I'm just learning xhtml so it's hard for me to remember how everything fits together, plus I'm just a casual web developer so I get out of practice.
What kind of error is:
Line 14 column 4: start tag was here.
<img src="http://www.existest.org/existest/images/menu.gif" usemap="#menu99"
What does it mean?
aussie girl
01-22-2007, 01:13 AM
it means there is an open tag but no closing tag
<img src="http://www.existest.org/existest/images/menu.gif" usemap="#menu99" /> <- closing tag
Paul Jr
01-23-2007, 10:14 AM
In XHTML you must close all open tags. The <img> tag is an empty tag; it doesn't require a closing tag (such as <a> [ex: <a href="">Link</a> ]), rather at the end of the tag you add a space then a forward slash ("/") before the last ">". Like so:
<img src="image.png" alt="Image" />.
More info: Differences with HTML 4 (http://www.w3.org/TR/xhtml1/#diffs) - Compatibility Guidelines (http://www.w3.org/TR/xhtml1/#guidelines)