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\" /] Link to comment https://forums.phpfreaks.com/topic/13195-need-help-please/ 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! Link to comment https://forums.phpfreaks.com/topic/13195-need-help-please/#findComment-50791 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. Link to comment https://forums.phpfreaks.com/topic/13195-need-help-please/#findComment-50853 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.