Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Aligning a <TD> Using CSS 1

Status
Not open for further replies.

Michael42

Programmer
Joined
Oct 8, 2001
Messages
1,454
Location
US
Hello,

How can you vertically align the text in a <table> <td> tag using CSS 2.0?

In regular HTML 3.2 I would do this:
Code:
<td valign="top">

Thanks,

Michael42
 
In your style sheet:

td {vertical-align: top;}

traingamer
 
have you tried searching google.
When I need to know the proper CSS code I search Google ie.
CSS Table valign

Typicall the w3schools.com has the anwser.
Otherwise I generally find the first result or two have what I need.

Kevin Petursson
 
Thanks all. It helps to be able to spell vertical correctly too. :-)
 
thats why they invented spell chekc. :)

Kevin Petursson
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top