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:

   <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
   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
   width=90 height=30 alt="Netscape Now!"></a>
   <img src="/images/si-le.gif" alt="Join LinkExchange Banner Network"
width=88 height=31></a>
  <a href="http://siteinspector.linkexchange.com/"><img
   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>

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 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:48 UTC