Go Back   Ultimate Web Site Drop Down Menu Forum > Web Development > CSS and HTML
Register FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Display Modes
Unread 08-08-2007, 12:51 PM
paulj paulj is offline
Senior Member
Join Date: Jul 2007
Posts: 521
  #1  
Default Making the DIVs in a 3 column layout to be the same height

Hi guys!I just thought about this, and I can't find out how I would archive it?I have a 3 column layout with header and footer. I use the first DIV for my menu, middle DIV as my main window (where I write all the text etc) and the last one for nothing. But when I write text that's really long...
Reply With Quote
Unread 08-08-2007, 02:49 PM
doctordew doctordew is offline
Senior Member
Join Date: Aug 2007
Posts: 121
  #2  
Default

Here's what I use. You'll just need to add one with the word left switched out with "middle". Then you just play around with the widths to get them to align correctly. I suggest 3 bright background colors for them, and then you can move them around easier. You can get rid of the white space by playing around with this code.

CSS

.leftcolumn {
position: absolute;
width: 100;
top: 0px;
left: 0px;
background-color: #32cd32;
}

.rightcolumn {
position: absolute;
width: 700;
top: 0px;
left: 100px;
background-color: #00ffff;
}

HTML

<DIV class="leftcolumn">

Contents of the left column.
</DIV>

<DIV class="rightcolumn">

Contents of right column.
</DIV>
__________________
Make Money Blog
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 01:14 PM.


Powered by vBulletin® Version 3.0.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.