| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
caught a lite sneeze
Join Date: Nov 2003
Location: Sweden
Posts: 62
|
Beginner need DIV-help
Ages since I posted here... Well, I'm starting to learn DIVs and stuff - but I have run into a problem. I want the white frame to be centered AND have all the other three DIVs inside it. When I use float: left; on the base-DIV it looks just the way I want it, except that everything is on the left side ... I want it centered. Can anybody help me? http://hem.passagen.se/athas/div_test.html (Try to look past the ### banner at the top. This free webspace is the only I got right now...) |
|
|
|
|
|
#2 (permalink) |
|
dt immigrant
|
Code:
http://www.positioniseverything.net/easyclearing.html or have a look at faux columns http://www.alistapart.com/articles/fauxcolumns/ Last edited by emil : 31-08-2005 at 09:54. Reason: fixed code |
|
|
|
#3 (permalink) |
|
caught a lite sneeze
Join Date: Nov 2003
Location: Sweden
Posts: 62
|
Just wanted to add that the problem appears in Firefox ... it looks just like I want it in crappy IE ... overflow: hidden; on the base-DIV gives me what I want ...almost - the menu-DIV jumps down below the posts-DIV. Crap! |
|
![]() |