By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,648 Members | 1,203 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,648 IT Pros & Developers. It's quick & easy.

dynamic height?

P: n/a
Amy
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
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Amy" <bl**@blar.blar.com> wrote in
news:bp*******************@news.demon.co.uk:
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.
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.