Jump to content

Archived

This topic is now archived and is closed to further replies.

Guest daleosmond

Need Help Please!

Recommended Posts

Guest daleosmond
Hey,
how can i make an hole table valign top without having to put valign="top" on every td? [img src=\"style_emoticons/[#EMO_DIR#]/unsure.gif\" style=\"vertical-align:middle\" emoid=\":unsure:\" border=\"0\" alt=\"unsure.gif\" /]

Share this post


Link to post
Share on other sites
[!--quoteo(post=389206:date=Jun 29 2006, 07:34 AM:name=daleosmond)--][div class=\'quotetop\']QUOTE(daleosmond @ Jun 29 2006, 07:34 AM) [snapback]389206[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Hey,
how can i make an hole table valign top without having to put valign="top" on every td? [img src=\"style_emoticons/[#EMO_DIR#]/unsure.gif\" style=\"vertical-align:middle\" emoid=\":unsure:\" border=\"0\" alt=\"unsure.gif\" /]
[/quote]

use CSS instead:

put this inside your <head> tags:
[code]
<style type="text/css">
td {
  vertical-align: top;
}
</style>
[/code]

that's really all there is to it. good luck!

Share this post


Link to post
Share on other sites
You can also specify valign="top" in the tr tags too which will valign every td cell to the top too. But CSS is much better.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.