- From: Ralf Hauser <hauser@acm.org>
- Date: Thu, 24 Oct 2002 02:20:55 -0400 (EDT)
- To: www-validator@w3.org
Ian Hickson wrote: > On Wed, 23 Oct 2002, Ralf Hauser wrote: > >>If I now want to place this image in the middle of the line (as opposed to >>the default bottom alignment), how would I do that? > > > text-align: center; Thanks in the meantime Thanasias gave me another hint placing the <img class="alignMiddle" and in the CSS style-sheet.. > img.alignMiddle { > vertical-align: middle; > } > > See <http://www.w3.org/TR/REC-CSS2/visudet.html#propdef-vertical-align>. > > Note that this is one of the features which is unevenly supported by > the browsers, so be careful! This appeared to work at least with Mozilla 1.2 and MSIE 6 > > I would suggest that this is off-topic for this list, though. Try the web > design newsgroups. You are right with your comment in general, but since the validator's suggestion for image inclusion code is not xhtml1.1 compatible (discussed in other postings), I would like to position this as an enhancement suggestion. In general I am wondering: The validator appears to be a crucial tool for the promotion of newer versions of HTML and standard compliance. Why are there only so terse error messages and no structured knowledge base? Searching mailing list archives is an approach that IMHO doesn't fly with the broader public? Besides better (hyperlinked) error messages with suggestions where to look for how to fix it, I suggest that W3C runs a bugzilla database for the validator-* services. What do you think?
Received on Thursday, 24 October 2002 03:01:58 UTC