text-align: top; (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets



Message


rdouglass -> text-align: top; (3/15/2006 9:38:24)

Hi all you CSS guru's.

I'm trying to apply a class to a group of table cells and I want them to all align vertically to the top of the cell. I know about text-align: and left,right, and center but I can't find any way to set the vertical alignment of a cell using CSS.

Anyone have any ideas or know of a solution?




d a v e -> RE: text-align: top; (3/15/2006 10:31:00)

guess all the gurus are busy ;), but...

.class {
vertical-align: top;
}

should work
http://www.w3.org/TR/CSS21/tables.html#height-layout





rdouglass -> RE: text-align: top; (3/15/2006 11:10:46)

quote:

vertical-align: top;


Works great, thanks.

Now how come I couldn't find it? [X(]




d a v e -> RE: text-align: top; (3/15/2006 11:21:53)

maybe cos you haven't got this?! http://people.opera.com/rijk/panels/




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875