HighDots Forums  

how to have a variable height div, but no smaller than ...

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


Discuss how to have a variable height div, but no smaller than ... in the Cascading Style Sheets forum.



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

Default how to have a variable height div, but no smaller than ... - 10-06-2003 , 07:58 AM






I am displaying email text in a div on the right side of the page with
an index on the left. I want the div to look like a sheet of paper so I
set with a "height:650px;" and all is well until the email is longer
than that.

How can I have it be the *larger* of the length needed to hold the text
or 650 px ?

I tried putting a <div style="clear:both">&nbsp;</div> just below the
text within the "paper" div, but to no avail
--
bill
Technical Service Systems
bill (atsign) TechServSys (period) com

unix is user friendly, it is just careful who it befriends


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

Default Re: how to have a variable height div, but no smaller than ... - 10-07-2003 , 04:49 AM






bill wrote:

Quote:
I am displaying email text in a div on the right side of the page with
an index on the left. I want the div to look like a sheet of paper so I
set with a "height:650px;" and all is well until the email is longer
than that.

How can I have it be the *larger* of the length needed to hold the text
or 650 px ?

I tried putting a <div style="clear:both">&nbsp;</div> just below the
text within the "paper" div, but to no avail
obviously, what I wanted is "min-height:650px"
I found it from an answer to another question on this list
--
bill
Technical Service Systems
bill (atsign) TechServSys (period) com

unix is user friendly, it is just careful who it befriends



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.