W3C home > Mailing lists > Public > www-style@w3.org > September 1998

vertical-align ?

From: Brian Mitzel <bmitzel@u.arizona.edu>
Date: Mon, 14 Sep 1998 15:51:57 -0400 (EDT)
Message-ID: <000101bde018$eb012680$c7c48796@gunthar.arizona.edu>
To: <www-style@w3.org>
I'm sure this is a pretty simple question, but, so far, I haven't been able
to figure it out.  What I want to do is use a style sheet to align a row
(paragraph) of images in the middle of the line. Following is the HTML
(strict 4.0) and CSS (level 2) source that I'm currently using:

html:
  <p><a
href="http://jigsaw.w3.org/css-validator/validator?uri=http://tsl.dyn.ml.org
/tsl.css">
   <img src="images/mwcos.gif" alt="Cascading Style Sheets, level 2"
width=88 height=31></a>
  <a href="http://validator.w3.org/check?uri=http://tsl.dyn.ml.org"><img
src="/images/vh40.gif"
   alt="Valid HTML 4.0!" width=88 height=31></a>
  <a href="http://www.microsoft.com/ie/download/"><img
src="/images/ieget_animated.gif" width=88 height=31
   alt="Get Microsoft Internet Explorer"></a>
  <a href="http://www.netscape.com/download/index.html"><img
src="/images/netscape.gif"
   width=90 height=30 alt="Netscape Now!"></a>
  <a
href="http://www.linkexchange.com/cgi-bin/refer?linkex+http://www.linkexchan
ge.com/join/join_index.html">
   <img src="/images/si-le.gif" alt="Join LinkExchange Banner Network"
width=88 height=31></a>
  <a href="http://siteinspector.linkexchange.com/"><img
src="/images/snbutton.gif"
   alt="LinkExchange Site Inspector" width=88 height=31></a>
  <a href="http://www.addme.com"><img src="/images/addme.gif" alt="Add Me!"
width=88 height=31></a>
  <a href="http://www.hotmail.com/"><img src="/images/hmlink.gif"
alt="Hotmail - Free Email"
   width=88 height=31></a>
  <a href="/cgi-bin/NOTEPAD.EXE"><img src="/images/bwnotepad.gif" alt="Built
With Notepad"
   width=88 height=31></a>
  <a href="http://www.textpad.com/"><img src="/images/txp_anim.gif"
alt="Designed With TextPad 3.0"
   width=88 height=31></a></p>

css:
img { border: 0; verticle-align: middle }

When I try validating the CSS code, I get the following error:
Line : 70 Context : IMG
Property verticle-align doesn't exist : middle

Any help with the proper use of the verticle-align property would be greatly
appreciated.  Thanks in advance.

Brian Mitzel (bmitzel@u.arizona.edu)
Received on Monday, 14 September 1998 16:10:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:56 GMT