CSS Positioning Induced Problem

by Andrew Sturmey <Andrew.Sturmey(at)deverill.co.uk>

 Date:  Thu, 1 Jun 2000 17:50:48 +0100
 To:  hwg-techniques(at)mail.hwg.org
  todo: View Thread, Original
Hi again People,

I've come across a bit of a problem.

I've got a seemingly basic page which consists of three parts really;  A
small DIV at the top containing some text, defined:

#top {
	position : fixed;
	width : 100%;
	height : 14px;
	top : 0px;
	}


A larger DIV taking up the remaining space only, defined:

#bottom {
	position : fixed;
	width : 100%;
	height : expression(document.body.clientHeight - 14);
	bottom : 0px;


And an OBJECT inside the larger DIV taking up the whole space of it,
defined:

#icaclient {
	width : 100%;
	height : 100%;
	}


What I think is happening is that the page loads, but the object (an activex
app) initializes before the browser has figured out what size to make it.
The object does not seem to have the capability to resize dynamically so it
doesn't work.

I may be completely wrong, but that's what seems to be happening.  If you do
a refresh on the window then it loads fine.

If this is the problem then does anyone know if there's a way I can offer
the browser a hint to stop it initializing the object until the page is
loaded?

Any help, comments, suggestions, or anything really would be much
appreciated.

By the way, all clients are running MSIE 5.01.

Thanks,


Andrew



PS. I really really don't want to have to use frames, it complicates other
elements of the site too much.

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.