Pages: 12

  2008-10-23 17:41:34

irishsandy
» n00b
FTalk Level: zero
1
0
1969-12-31

Re: [color=royalblue]The actual divs can be positioned in any order you want. If you want your content to load first, add that div first in the body of your html, for example: <div id="content">content g

[quote=ajhay12]<html> <head> <title>Three Column CSS Layout with Header</title> <style type="text/css"> body { margin-top: 0; margin-bottom: 0; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; } #header { margin: 20px; padding: 10px; height: 100px; } #left { position: absolute; left: 15px; top: 160px; width: 200px; } #center { top: 0; margin-left: 230px; margin-right: 230px; } #right { position: absolute; right: 15px; top: 160px; width: 200px; } </style> </head> <body> <div id="header"> Your header will go here. You can place images, text links, etc. in this div. To change the properties of this div you can change the #header selector in the style sheet that is located on this page between the head tags. </div> <div id="left"> Your left menu will go here. You can place images, text links, etc. in this div. To change the properties of this div you can change the #left selector in the style sheet that is located on this page between the head tags. </div> <div id="center"> All of your content goes in this div. This section is fluid so that if the window is collapsed, your div will collapse also and fit the screen perfectly. To change the properties of this div you can change the #center selector in the style sheet that is located on this page between the head tags. </div> <div id="right"> Your right menu will go here. You can place images, text links, etc. in this div. To change the properties of this div you can change the #right selector in the style sheet that is located on this page between the head tags. </div> </body> </html>[/quote]

Pages: 12

Board footer

© 2025 F Talk

Current time is 10:57

[ 12 queries - 0.009 second ]
Privacy Policy