Guest daleosmond Posted June 29, 2006 Share Posted June 29, 2006 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 Link to comment Share on other sites More sharing options...
obsidian Posted June 29, 2006 Share Posted June 29, 2006 [!--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! Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted June 29, 2006 Share Posted June 29, 2006 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.