HighDots Forums  

setting a minimum column height with CSS?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss setting a minimum column height with CSS? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
graylensman
 
Posts: n/a

Default setting a minimum column height with CSS? - 06-30-2008 , 10:56 AM






I'm working on a website with two column layout. The left column contains a
list of site navigation links, the right column contains actual content for any
given page. I'm using CSS to set a left-hand rule that runs the height of the
right-hand column. On some pages, there's a lot of content; on others, very
little. When there's little content, my rule doesn't run as long as the links
list, because the rule is applied to the right column.

So, I want this rule to run at least as long as that left column, but run as
long as the content in the right column when needed. Here are links to a couple
of pages, so you can see what's going on:

Good:
http://www.hillphoenix.com/web_redes.../techInfo.html

Not so good:
http://www.hillphoenix.com/web_redes.../whatsNew.html


Thanks for your help, in advance!


Reply With Quote
  #2  
Old   
Bretz
 
Posts: n/a

Default Re: setting a minimum column height with CSS? - 06-30-2008 , 11:36 AM






graylensman wrote:
Quote:
| I'm working on a website with two column layout. The left column
| contains a list of site navigation links, the right column contains
| actual content for any given page. I'm using CSS to set a left-hand
| rule that runs the height of the right-hand column. On some pages,
| there's a lot of content; on others, very little. When there's
| little content, my rule doesn't run as long as the links list,
| because the rule is applied to the right column.
|
| So, I want this rule to run at least as long as that left column,
| but run as long as the content in the right column when needed. Here
| are links to a couple of pages, so you can see what's going on:
|
| Good:
| http://www.hillphoenix.com/web_redes.../techInfo.html
|
| Not so good:
| http://www.hillphoenix.com/web_redes.../whatsNew.html
|
|
| Thanks for your help, in advance!
hello,

apply this to your right column div and change 430px to whatever you want

min-height: 430px;
height:auto;
_height: 430px;

regards

bretz




Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.