PDA

View Full Version : CSS conversion


mattover-matter
03-25-2003, 05:02 AM
srry for all the questions :o

How do I convert:

<td valign="top">

into css?

I tried:

td {
valign: top
}
,
td{
text-valign: top;
}

nothing works.
:rolleyes:


Thanks in advance :thumbsup:

meow
03-25-2003, 05:03 AM
<error error error>

Sorry, I post faster than I think. :o

I meant:
vertical-align: top

http://www.w3.org/TR/REC-CSS2/visudet.html#propdef-vertical-align

Also see:
http://www.w3.org/TR/REC-CSS2/tables.html#height-layout

cg9com
03-25-2003, 02:00 PM
also you can use text-align:; so long as its not spelled with a v in it. ;)

you sound like me when i first made "the switch (dramatic music)".
CSS Reference (http://msdn.microsoft.com/library/default.asp?url=/workshop/author/css/reference/attributes.asp)