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-02-2007, 03:12 PM
paulj paulj is offline
Senior Member
Join Date: Jul 2007
Posts: 521
  #1  
Default Adjust column width

I have this page that I would like to adjust the width of the two columns: http://www.portlandwinegroup.com/distributors.html The columns are set at 230px, but the right column is wider, or looks wider, if I set it to 240 px, the whole column breaks. how can I adjust it so the phone numbers are in...
Reply With Quote
Unread 08-03-2007, 07:41 PM
doctordew doctordew is offline
Senior Member
Join Date: Aug 2007
Posts: 121
  #2  
Default

Try replacing pixels with %. Switch it to 50% and 50% and go from there. See how that works. If you're willing to go farther than that, as in replace your entire column code's I have a pretty good code for you that I use.

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>
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 11:59 PM.


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