473,320 Members | 1,846 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,320 software developers and data experts.

Element dimensions in Netscape 4.5 (already posted in n.p.d.c)

Sorry for the multipost, there was no reaction in netscape.public.dev.css.

Is it possible to make Nescape 4.5+ display this element:

#detailXplan {
position:absolute;
top:0px;
left:254px;
width:506px;
height:530px;
visibility:visible;
z-index:2;
background-color:#ffffff;
layer-background-color:#ffffff;
overflow:auto;
}

506 pixel wide and 530 pixel high if there is not much content, without
using a table and transparent gifs, and without violating the standards any
more? Actually it shrinks the element size to the amount of content.

--
Markus
Jul 21 '05 #1
2 1306


Markus Ernst wrote:

Is it possible to make Nescape 4.5+ display this element:

#detailXplan {
position:absolute;
top:0px;
left:254px;
width:506px;
height:530px;
visibility:visible;
z-index:2;
background-color:#ffffff;
layer-background-color:#ffffff;
overflow:auto;
}

506 pixel wide and 530 pixel high if there is not much content, without
using a table and transparent gifs, and without violating the standards any
more? Actually it shrinks the element size to the amount of content.


If you want to have layer-background-color cover a rectangle of a
certain width and height for NN 4 you need to use
clip: rect(0px, 506px, 530px, 0px);
Of course content will be clipped and overflow is not supported.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 21 '05 #2
Martin Honnen wrote:
If you want to have layer-background-color cover a rectangle of a
certain width and height for NN 4 you need to use
clip: rect(0px, 506px, 530px, 0px);
Thank you, that helps me a lot.
Of course content will be clipped and overflow is not supported.


As long as it does not disturb modern browsers - who would ask for more :-)

Cheers
Markus
Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Covad | last post by:
Hi all, For some reason my change() function is only called when the page loads. I'd much rather it gets called when the select changes. Here's the code: window.onload = init; function...
4
by: Markus Ernst | last post by:
Hi I try to build a website with a css layout. I have for example 2 div elements with a specified width and a float-left, and the 3rd div element has margin:0px which makes it extend to the rest...
1
by: J. Potts | last post by:
Just out of curiosity, has anyone run into this problem? Someone where I work put a set of pages together with the following in the style sheet: BODY { position: absolute; margin-top: 0mm;...
1
by: John | last post by:
I am rotating images of different dimensions. My problem is that when a new image is displayed in a new position which had an image of a different dimension, the old image is first stretched to the...
21
by: Michael Bierman | last post by:
Please forgive the simplicy of this question. I have the following code which attempts to determine the color of some text and set other text to match that color. It works fine in Firefox, but does...
2
by: Vik | last post by:
1. In IE 6.0, I can open a Web page http://localhost/MySite/MyPage.aspx, which connects to an SQL Server without asking for log in. In Netscape 7.1, the page requires log in. Provided the Windows...
2
by: awoodgate | last post by:
Hi, I'm trying to read the width of a css absolutely positioned element in javascript. If I use an id selector or a class definition then the width is null, but if I use an inline style then it...
3
by: Gabriele Farina | last post by:
Hi, I'd like to know where I can find some informations on how to retrive element dimensions in a cross browser whay. Until now I used offsetWidth and offsetHeight, but I know their are not...
3
by: toffee | last post by:
Hi all, Here's the situation: I have a table of data; and I would like to add a div with exactly the same height and width as the top-left header. The problem is as the data is dynamic and the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.