tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <h...@visi.com>
Subject Re: [REALLY OT] CSS tag
Date Fri, 23 Jan 2004 21:54:49 GMT
Quoting Luc Foisy <Luc.Foisy@technical-magic.com>:

> 
> I am looking for a quick answer, I don't belong to any other list thats
> appropriate, and we should be full of web developers :)
> I appologize to the admins.
> 
> Any, I was wondering if there was a css tag that would align my text
> vertically. like in <TD VALIGN=top>
> 
Yep,

vertical-align: top;

Note that this only works in table cells (<td> and <th>) or inline elements
where something on the line makes that line tall such as a
taller-than-the-font-size image.  It is not inherited either, so you can just
set it on a <div> and expect it to propogate to inline tags inside that <div>.

Anyway, this should work fine for you since you are using a <td>.

Jake

> TD.productdisplayfieldname
> {
> 	color	:	Red;
> 	font-size	:	16px;
> 	font-family	:	Arial, Helvetica, sans-serif;
> 	font-style	:	normal;
> 	font-weight	:	bold;
> 	text-decoration	:	none;
> 	text-align	:	right;
> }
> Anyone got a quick answer?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message