Forum Moderators: open

Message Too Old, No Replies

Pumping up table cells

using layers or clearpixels?

         

Stue

2:14 pm on Apr 30, 2002 (gmt 0)

10+ Year Member



Hi,
i recently was trying to figure out a way to increase table cell height (and width) after they have been loaded.

The actual problem is that I want the cell height to size in relation to the height of my dynamically generated content area. This cell is a flexible element of my fluid table and has a repetitive background image (it runs next to my content cell).

I have tried to put a clearpixel image into the cell and WRITE to its height via javascript (after i got the size of the generated content cell) but it seems that NS4 and Opera(5) cant WRITE the height of an image.
I have also tried to replace the image via a DIV layer and write to its height. But it seems that in Netscape4 the layer doesnt properly stretch the cell as i wanted.

I also lack of the proper knowledge of how to address image and layer heights in IE,NS4,NS6 and Opera (short: in all important browsers) in JavaScript.

Need help. Thx.

tedster

2:37 pm on Apr 30, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, Stue.

Here's a related thread:
[webmasterworld.com...]

Stue

7:17 am on May 2, 2002 (gmt 0)

10+ Year Member



Thx.

Anyways, this is not what i need to know. I need to know an alternative (workaround) for IE4, NS4 and Opera5.