|
|
#1 (permalink) |
|
New Member
![]() Join Date: Aug 2008
Posts: 5
|
Hi all
I'm trying to get my head around using DIV tags to layout my pages so I can move away from using frames. What i'm trying to do is get a layout like this: http://www.gep.co.uk/iq/test08/index3.html Where my boxes are aligned as such and always resize to be centered in the screen. But when i'm using DIV I get the following: http://www.gep.co.uk/iq/test08/index.html As I said, i'm new to this and should probably start reading up on it a little so if anyone has any good resources I could check out that would really be appreciated. Thanks Dene |
|
|
|
|
|
#3 (permalink) |
|
New Member
![]() Join Date: Jul 2008
Posts: 17
|
Alright for this you'll have to put your entire page in a wrapper div.
The HTML should look something like. HTML Code:
<body> <div id="page_wrapper">SITE CONTENT GOES HERE.</div> </body> Code:
#page_wrapper { width:300px; margin-left: auto; margin-right: auto; }
|
|
|
|
|
|
#5 (permalink) | |
|
New Member
![]() Join Date: Aug 2008
Location: Omaha, NE
Posts: 12
|
Quote:
__________________
I make Web Sites. Let me make one for you. Web Design | Hosting | SEO | Smashwebs.com |
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|