Solved

td valign top

Posted on 2011-03-02
4
1,098 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

Technology Partners: 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

When applying CSS to your HTML, there are many different ways to select which element(s) the CSS applies to.  Some of these selectors are more commonly known and used than others - Here are the more common ones: #X - Matches an ID of X .X - Matche…
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

749 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