Forum Moderators: not2easy

Message Too Old, No Replies

Netscape and resizing DIV's

         

Friend

9:24 pm on Mar 9, 2004 (gmt 0)

10+ Year Member



I have been building a page with DIV's and I have just noticed that IE6 will resize the DIV if I change the text size but Netscape7 will not.

I need the DIV's to resize b/c I am using the border on the DIV's as a visual element on the page.

Any ideas?

I have tried building a table and putting a border on the td tag, but I have less control this way.

PatomaS

10:47 am on Mar 10, 2004 (gmt 0)

10+ Year Member



May be you can try using a Script that detects the navigator and the event of resize and the it resize the div, you can do that usin the object element or the id feature. I prefer the id or the order number of the layers

Good luck

Bye

DrDoc

3:46 pm on Mar 10, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to Webmaster World!

What does your CSS for the div look like?

Friend

11:12 pm on Mar 30, 2004 (gmt 0)

10+ Year Member



Thanks for the welcome and the responses. I've been bogged down with other things and haven't checked back until now.

What I was noticing was if I had multiple DIV's in one cell of a table, Netscape was not resizing the cell if the Div's adjusted. So I nested another table within the cell to give each div its own cell. I had to use more tables than I thought would be necessary, but I got the effect that I wanted. You can see it in its temp location here:

[hosting.deltreesolutions.com...]

Text size is not fixed and the table adjusts with the text size so I don't get any text bleedover...unless someone uses one of Netscape's ridiculous text sizes. I also wanted to have the text div with a left border that expands with the div and never touches the border.

Anyway..thanks for the replies.