HighDots Forums  

dynamic height?

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


Discuss dynamic height? in the Cascading Style Sheets forum.



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

Default dynamic height? - 11-17-2003 , 01:29 PM






Hello,

I am in the middle of re-designing my website,
http://www.amykimber.com/index.asp is the table version,
http://www.amykimber.com/temp.asp is where I'm currently at with the css
version...

Quite.

Ok, my question is this. I want a div that goes from 100px from the
top (so I have room for my top banner) to the bottom - where ever that is -
either the bottom of the screen or after the data that's in the div, which
would be a simple "hello this is my site" paragraph to a long CV page (i.e.
scrolling and non-scrolling pages). But when I state to and bottom
attributes (no height of course) it all goes pare shaped

<div id="Main" style="position: absolute; left: 155px; right: 90px; top:
100px; bottom: 10px; z-index: 1; overflow: auto;">

http://www.amykimber.com/temp2.asp - not good.

So... have I got the wrong end of the stick somewhere? Is what I'm
after possible? If I set the heights of the 6 layers to a % - say, 75% or
80% I get a very similar mess as well.

Basically... Help! Any comments, suggestions or rants gratefully
received :-)

Amy K



Reply With Quote
  #2  
Old   
Eric Bohlman
 
Posts: n/a

Default Re: dynamic height? - 11-17-2003 , 06:35 PM






"Amy" <blar (AT) blar (DOT) blar.com> wrote in
news:bpb41l$dar$1$830fa79f (AT) news (DOT) demon.co.uk:

Quote:
Ok, my question is this. I want a div that goes from 100px
from the
top (so I have room for my top banner) to the bottom - where ever that
is - either the bottom of the screen or after the data that's in the
div, which would be a simple "hello this is my site" paragraph to a
long CV page (i.e. scrolling and non-scrolling pages). But when I
state to and bottom attributes (no height of course) it all goes pare
shaped

div id="Main" style="position: absolute; left: 155px; right: 90px;
top: 100px; bottom: 10px; z-index: 1; overflow: auto;"

http://www.amykimber.com/temp2.asp - not good.

So... have I got the wrong end of the stick somewhere? Is what
I'm
after possible? If I set the heights of the 6 layers to a % - say, 75%
or 80% I get a very similar mess as well.
It's working just fine in Opera 7.22 and K-Meleon 0.8 (based on Mozilla
1.5), but the two columns go wacky in MSIE 6.0. MSIE is known to have some
problems handling XHTML; you might want to test it out using HTML 4.01
Strict instead.


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.