Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1998 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

Multi Column Design

Thread title: Multi Column Design
Closed Thread  
Page 1 of 2 1 2 >
    Thread tools Search this thread Display Modes  
09-13-2006, 09:14 PM
#1
LeetPCUser is offline LeetPCUser
LeetPCUser's Avatar
Status: Member
Join date: Aug 2006
Location: Wisconsin
Expertise:
Software:
 
Posts: 132
iTrader: 0 / 0%
 

LeetPCUser is on a distinguished road

Send a message via AIM to LeetPCUser Send a message via MSN to LeetPCUser Send a message via Yahoo to LeetPCUser

  Old  Multi Column Design

Now, more than ever, multi column design is becoming popular. I don't really know how to efficiently code mutli column. Here are the three types I have experimented with:
  • Tables - Horrible thing to do and I never use them.
  • Float - Up until recently I was using float but it become really difficult getting the background color to work in both IE and FF because one column is always shorter, exposing the white background.
  • Position:Absolute - This is what I am currently trying to use and it is just as hard as float. I can't seem to get anything to align below it because it is absolutely positioned. However, if I want a footer I want it to be fluid and move up and down with each page and not be absolute.

What do you guys use? I am currently having problems using position and getting the footer to work...

http://ppacinc.org/ is the site I am trying to work on. Any help would be greatly appreciated.

09-13-2006, 09:46 PM
#2
Bas is offline Bas
Status: I love this place
Join date: Jan 2005
Location: The Netherlands
Expertise: Frontend, vBulletin
Software: Coda, Photoshop
 
Posts: 607
iTrader: -1 / 0%
 

Bas is on a distinguished road

Send a message via MSN to Bas

  Old

Most of the time I use float. If you have a short side column and you want it's background to expand, you should make a container div and give that a background colour or image.

09-27-2006, 10:13 AM
#3
Kirtan is offline Kirtan
Status: Junior Member
Join date: Sep 2006
Location:
Expertise:
Software:
 
Posts: 27
iTrader: 0 / 0%
 

Kirtan is on a distinguished road

Send a message via Yahoo to Kirtan

  Old

Here are to resources for CSS Layouts
http://www.glish.com/css/
http://www.bluerobot.com/web/layouts/
As Bas said you have to use "wrapper" div.

09-28-2006, 06:21 AM
#4
Julian is offline Julian
Status: Simply to simplify
Join date: Apr 2005
Location: Foxton, Manawatu, New Zealand
Expertise:
Software:
 
Posts: 5,572
iTrader: 0 / 0%
 

Julian is on a distinguished road

  Old

To get backgrounds to "stretch" the full length of the columns you have to use repeating images.

09-28-2006, 07:32 AM
#5
Awesome is offline Awesome
Awesome's Avatar
Status: Pastafarian
Join date: May 2006
Location: Duct Taped to your Ceiling
Expertise:
Software:
 
Posts: 3,440
iTrader: 26 / 93%
 

Awesome is on a distinguished road

  Old

Originally Posted by Julian
To get backgrounds to "stretch" the full length of the columns you have to use repeating images.
I think he is failing to clear his floats, thus ending them at the end of content, rather then terminating at the footer.

Correct?

09-29-2006, 12:44 AM
#6
SilverSpike is offline SilverSpike
Status: Junior Member
Join date: Sep 2006
Location:
Expertise:
Software:
 
Posts: 28
iTrader: 0 / 0%
 

SilverSpike is on a distinguished road

  Old

i use float most of the time, and wrap them in a parent div and set the bg of that to the color i need, or if they are different colored boxes, i just set there height to 100% and it fills in the bottom so it doesnt just stop.

09-29-2006, 12:55 AM
#7
Awesome is offline Awesome
Awesome's Avatar
Status: Pastafarian
Join date: May 2006
Location: Duct Taped to your Ceiling
Expertise:
Software:
 
Posts: 3,440
iTrader: 26 / 93%
 

Awesome is on a distinguished road

  Old

Originally Posted by SilverSpike
i use float most of the time, and wrap them in a parent div and set the bg of that to the color i need, or if they are different colored boxes, i just set there height to 100% and it fills in the bottom so it doesnt just stop.
Height: 100%; is pretty much useless. You need to clear your floats correctly.

09-29-2006, 02:32 AM
#8
Andrew R is offline Andrew R
Status: Request a custom title
Join date: Dec 2005
Location: Arizona
Expertise:
Software:
 
Posts: 5,200
iTrader: 17 / 95%
 

Andrew R is on a distinguished road

  Old

<br clear="all" /> at the end of all your floating elements. It should fix that.

09-29-2006, 02:44 AM
#9
Garrett is offline Garrett
Status: Waving
Join date: Aug 2005
Location:
Expertise:
Software:
 
Posts: 2,694
iTrader: 11 / 100%
 

Garrett is on a distinguished road

Send a message via MSN to Garrett

  Old

Originally Posted by AndrewR
<br clear="all" /> at the end of all your floating elements. It should fix that.
Who tought you

09-29-2006, 04:42 PM
#10
Joe is offline Joe
Status: Custom User Title
Join date: Apr 2005
Location:
Expertise:
Software:
 
Posts: 2,297
iTrader: 0 / 0%
 

Joe is on a distinguished road

  Old

I use the float method. Floating multiple DIVs in a container, and then set a background to the container DIV to make sure that the columns appear to stretch fully to improve asthetics.

Closed Thread  
Page 1 of 2 1 2 >


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed