Fluid Columns
4 posts
• Page 1 of 1
Fluid Columns
I need a two column layout that lets the right side stretch 100% if there is no content in the left.
- ChevinBrown
- Posts: 410
- Joined: Wed Aug 18, 2004 2:10 pm
Re: Fluid Columns
Kevsterb007 wrote:I need a two column layout that lets the right side stretch 100% if there is no content in the left.
- Code: Select all
CSS
#container{
width:100%;
}
#left{
min-width:0px;
}
#right{
width:100%;
float:right;
}
HTML
<div id="container">
<div id="left"> </div>
<div id="right"> </div>
</div>
Just made that up, so no guarantee it will work, but look up max and min widths, those are the key to your question.
-sid
Do you want the latest news on Betas & Software, Security, or even Vista? Check out our <a href="http://www.pro-networks.org/forum/home_index.php" target="_blank" class="postlink">news areas</a> and be sure to <a href="http://www.pro-networks.org/main/newsletters.htm" target="_blank" class="postlink">subscribe to our PROneT newsletters!</a>
Sweet, glad to hear freehand coding is still with me
Do you want the latest news on Betas & Software, Security, or even Vista? Check out our <a href="http://www.pro-networks.org/forum/home_index.php" target="_blank" class="postlink">news areas</a> and be sure to <a href="http://www.pro-networks.org/main/newsletters.htm" target="_blank" class="postlink">subscribe to our PROneT newsletters!</a>
4 posts
• Page 1 of 1
Return to HTML, CSS, and Scripts
Who is online
Users browsing this forum: No registered users and 4 guests