Log in

View Full Version : Strict 1.0 XHTML:...appear non-valid well, how implemented in CSS ?



leonidassavvides
09-22-2009, 10:11 AM
I tried get a website Strict 1.0 XHTML, but <a target="_blank" ...> appear non-valid well, how implemented in CSS this attribute?
Also <img align="right"...> appear non-valid well, how implemented in CSS this attribute?

bluewalrus
09-22-2009, 11:43 AM
For the image use float:right; (img src="" style="float:right;"). I don't use the target but for a css solution maybe http://www.w3.org/TR/css3-hyperlinks/#the-target-name although this is css3 so might not work for all browsers. Another solution might be javascript.