473,396 Members | 2,081 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

dynamic height?

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
1 7213
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: f.ruecker | last post by:
Hey Guys, I've done my research for a script that dynamically adjusts the height of the Iframe, but none of the scripts have the features, which I all need. Maybe one of you can help me: 1. The...
1
by: Johanna | last post by:
I am a real php newbie, I am having to learn as I go along - no time for tutorials or books! Background to my problem: I am working on a Wordpress theme for my personal blog...
2
by: hans.kindberg | last post by:
I have a page with a content-div that scrolls and has a dynamic height. I do this with position absolute, top and bottom. I can do this if the other parts (divs) in the page over the scrolling part...
19
by: Rabel | last post by:
I have a page that is using tables (please no comments about this - I understand it should be css but firefox created this template) I have a menu down the left side and the bottom is supposed to...
1
by: buntyindia | last post by:
Hi, How can we achieve dynamic height for IFRAME on the base of it's content height. I want to remove the scrollbars. Thanks,
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.