Ultimate Web Site Drop Down Menu Forum

Ultimate Web Site Drop Down Menu Forum (http://www.udm4.com/forum/index.php)
-   CSS and HTML (http://www.udm4.com/forum/forumdisplay.php?f=8)
-   -   Adjust column width (http://www.udm4.com/forum/showthread.php?t=27)

paulj 08-02-2007 03:12 PM

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...

doctordew 08-03-2007 07:41 PM

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>


All times are GMT. The time now is 06:09 AM.

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