Jump to content


Need Help Please!


  • Please log in to reply
2 replies to this topic

#1 Guest_daleosmond_*

Guest_daleosmond_*
  • Guests

Posted 29 June 2006 - 11:34 AM

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\" /]

#2 obsidian

obsidian
  • Staff Alumni
  • Advanced Member
  • 3,202 posts
  • LocationSeattle, WA

Posted 29 June 2006 - 12:24 PM

[!--quoteo(post=389206:date=Jun 29 2006, 07:34 AM:name=daleosmond)--][div class=\'quotetop\']QUOTE(daleosmond @ Jun 29 2006, 07:34 AM) View Post[/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:
<style type="text/css">
td {
  vertical-align: top;
}
</style>

that's really all there is to it. good luck!
You can't win, you can't lose, you can't break even... you can't even get out of the game.

<?php
while (count($life->getQuestions()) > 0)
{   $life->study(); } ?>
  LINKS: PHP: Manual MySQL: Manual PostgreSQL: Manual (X)HTML: Validate It! CSS: A List Apart | IE bug fixes | Zen Garden | Validate It! JavaScript: Reference Cards RegEx: Everything RegEx

#3 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 29 June 2006 - 03:19 PM

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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users