Solved

td valign top

Posted on 2011-03-02
4
1,103 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 7

Accepted Solution

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

Expert Comment

by:nedlogan
ID: 35021521
Hi
You should do the following:

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

Regards.
0
 
LVL 16

Expert Comment

by:s8web
ID: 35022292
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
ID: 35022993
thanks
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

695 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