HighDots Forums  

setting height automatically

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss setting height automatically in the Cascading Style Sheets forum.



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

Default setting height automatically - 10-10-2005 , 05:12 PM






I have a 3 column table with the main content of the page in the center
column, pretty basic. I have a DIV in the right column that holds links, and
which is nearly always taller than the content cell, and I want to make it
never be any taller/shorter than the main content area. I can use
overflow:hidden, but I need to specify the height to do that, and then I am
back to square one. I just need to make sure that the right column never
exceeds the height of the center column, nor is ever any shorter and does
not have scrollbars. What is the best way to get this done? As a note, there
are 3 DIVs in the right column, but only one needs to adjust its height
accordingly.

--Ridge



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

Default Re: setting height automatically - 10-11-2005 , 11:42 AM






"Ridge Burner" <nospam (AT) nospam (DOT) com> wrote:

Quote:
I have a 3 column table with the main content of the page in the center
column
Tables are for marking up tabular content, not for creating layouts.

Quote:
, pretty basic. I have a DIV in the right column that holds links, and
which is nearly always taller than the content cell, and I want to make it
never be any taller/shorter than the main content area. I can use
overflow:hidden, but I need to specify the height to do that, and then I am
back to square one. I just need to make sure that the right column never
exceeds the height of the center column, nor is ever any shorter and does
not have scrollbars.
If it's ok that these links might be hidden from the user's view then
they are redundant.

Quote:
What is the best way to get this done?
Reduce the number of links to an acceptable level.

--
Spartanicus


Reply With Quote
  #3  
Old   
Ridge Burner
 
Posts: n/a

Default Re: setting height automatically - 10-11-2005 , 03:40 PM




"Spartanicus" <invalid (AT) invalid (DOT) invalid> wrote

Quote:
"Ridge Burner" <nospam (AT) nospam (DOT) com> wrote:

I have a 3 column table with the main content of the page in the center
column

Tables are for marking up tabular content, not for creating layouts.

, pretty basic. I have a DIV in the right column that holds links, and
which is nearly always taller than the content cell, and I want to make it
never be any taller/shorter than the main content area. I can use
overflow:hidden, but I need to specify the height to do that, and then I
am
back to square one. I just need to make sure that the right column never
exceeds the height of the center column, nor is ever any shorter and does
not have scrollbars.

If it's ok that these links might be hidden from the user's view then
they are redundant.

What is the best way to get this done?

Reduce the number of links to an acceptable level.

--
Spartanicus
Thanks Spartanicus, but I don't have the luxury of modifying the length of
the link list. This list is a PHP include file which spans 8 sites. Each
site is unique and requires the list to display at different lengths. I
could make the list unique for each site, but then I would need 9 different
include files (add one for the admin) and each would have to be edited
seperately. What you suggest is doable, but not practical in the situation I
am in.

--Ridge




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.