LiamProductions Posted July 22, 2007 Share Posted July 22, 2007 Heres a bit of code i need help with: <html> <head> <title>My new homepage</title> </head> <body> <center> <table border="2"> <tr> <td><h1>Liams site</h1></td> </tr> <tr> <td>Menu</td> <td> Content</td> </tr> </table> </center> </body> </html> How do i make the Menu table a certain width and hieght and same with content. Plus where the Header table is. theres a box in the top right. Link to comment https://forums.phpfreaks.com/topic/61271-tables/ Share on other sites More sharing options...
AndyB Posted July 22, 2007 Share Posted July 22, 2007 td width= ... percentage or pixels, up to you. Height is determined by the amount of 'stuff' that goes into a table data cell. Link to comment https://forums.phpfreaks.com/topic/61271-tables/#findComment-304950 Share on other sites More sharing options...
hacksurfin Posted July 23, 2007 Share Posted July 23, 2007 % will grow with the page and is probably your best bet unless you just want the size to stay the same regardless of screen resolution. I like to design with both Header in Pixels and Side or images that need to grow with the page in percentages. Heres a good article www.digital-web.com/articles/designing_for_the_web Link to comment https://forums.phpfreaks.com/topic/61271-tables/#findComment-305045 Share on other sites More sharing options...
LiamProductions Posted July 23, 2007 Author Share Posted July 23, 2007 Well i does anyone have tutorials on making good templates? Link to comment https://forums.phpfreaks.com/topic/61271-tables/#findComment-305325 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.