unknown87 Posted October 26, 2008 Share Posted October 26, 2008 <style type="text/css"> <!-- #header { height: 100px; } #navigation { width: 150px; height: 400px; } #main { } #footer { height: 100px; } --> </style> <div id="header">Header Content</div> <div id="navigation">Navigation Content</div> <div id="main">Main Content</div> <div id="footer">Footer Content</div> I am having problems with the layout of my page. At the moment, the "main" div tag is being placed under the "navigation" div tag by default. But i need the "main" div tag to be in the centre of all the other div tags. Thanks in advance Link to comment https://forums.phpfreaks.com/topic/130183-page-layout/ Share on other sites More sharing options...
emehrkay Posted October 26, 2008 Share Posted October 26, 2008 You need to look into the float attribute. http://css.maxdesign.com.au/floatutorial/ Link to comment https://forums.phpfreaks.com/topic/130183-page-layout/#findComment-675095 Share on other sites More sharing options...
unknown87 Posted October 26, 2008 Author Share Posted October 26, 2008 Wow - Nice tutorial. Thank you very much Link to comment https://forums.phpfreaks.com/topic/130183-page-layout/#findComment-675099 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.