validating css

liunx

Guest
I have validated my xhtml and all is valid, but when I validate my css it gives an error and says an image was opened and needs > or />....I have went through my code and found nothing....and my xhtml is valid and that is something they look for....any ideas?Are you talking about "Martz' Swimming Blog"? Does not validate.
You appear to be confusing xhtml with css.
An image element in xhtml is <img alt="myImage" src=http://www.webdeveloper.com/forum/archive/index.php/"myImage.gif" height="50" width="100" /> note the way the element is closed1. Why the CSS validator picks it up is beyond me.
2. Did you go to line 27 and the 333rd spot in your code like the error message pointed too?
3. The possible reason for the error is VERY nitpicky, but I kind of agree with it.

<img alt=""src=http://www.webdeveloper.com/forum/archive/index.php/"images/cross.gif" />

There's the tag that's causing the error. Position 333 is just after the "" that's part of the alt attribute. My guess you just need to add a space in there after the double quotes and before the src attribute. Yep, very nitpicky. :)wow...totally missed that....thanks spufi!
 
Back
Top