Solved

td valign top

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…

808 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