Solved

td valign top

Posted on 2011-03-02
4
1,086 Views
Last Modified: 2012-05-11
want all the content to be on the top of the td



want to do this in td tag without using external css

<td style="valign:top">words</td>  does not work
0
Comment
Question by:rgb192
4 Comments
 
LVL 7

Accepted Solution

by:
jrwarren earned 500 total points
Comment Utility
<Td valign="top">words</td>
0
 
LVL 2

Expert Comment

by:nedlogan
Comment Utility
Hi
You should do the following:

<td valign="top">Hello</td>

Regards.
0
 
LVL 16

Expert Comment

by:s8web
Comment Utility
It should be <td style="vertical-align:top;">Hello</td>

You could also do it in the head (put it after your <title> tag) so it sets all of them on the page, like this:

<style type="text/css">
      td{vertical-align:top;}
</style>

Or, if you're using an external stylesheet, just include:

td{vertical-align:top;}

0
 

Author Closing Comment

by:rgb192
Comment Utility
thanks
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This is a how to build your own CSS3 slideshow and when I say CSS3 I mean just CSS with no javascript in sight! There a few examples online of how to do this but most just show you an example without any explanation, others make it more complicat…
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now