Forum Moderators: open

Message Too Old, No Replies

Netscape compatibility

Cell dragging page out

         

nanasai

4:36 am on Dec 24, 2002 (gmt 0)

10+ Year Member



I have designed a website. I am having a slight problem viewing my site in netscape 7.0. I have used a cell with a right border just before the right side table. The cell is 1 pixel in width. Whenever I upload my site and view it in netscape, the right table goes off the page. As soon as I reload it comes back to normal. I am at a loss to know what's going on. If it was a problem with the design then it wouldnt come back to normal on reload. If I remove the cell it appears fine. Does someone know how to fix this problem. Please help.

[edited by: nanasai at 5:27 am (utc) on Dec. 24, 2002]

SuzyUK

5:23 am on Dec 24, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi nanasai

(you may want to remove that URL, not the done thing around here ;))

I'm pretty sure it's because your table doesn't add up hence the browser (it's happening in NN6 too) getting "confused"

e.g. first table width = 885, which as far as I can see is made up of columns 21+767+27 = 815 then in the column 767 wide you've a nested table 771 wide

that's as far as I got so there could be more the code is quite complex, but if you want a pixel perfect table I'm afraid it has to add up ;(

Suzy

nanasai

5:51 am on Dec 24, 2002 (gmt 0)

10+ Year Member



thank you very much. I tried making sure that everything adds up to 885. I even made sure the columns were sized as 771 instead of 665. Still the problem persists. Do you think there is any other problem.
Please help.

SuzyUK

7:11 am on Dec 24, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



maybe try running your code through a validator
[validator.w3.org...]

Some suggestions only:

1. try not specifying a width for your center (content area) column, just let it adjust to fit..

2. only set the width on the first row of each of your nested tables(the other rows will match) , that way it should be easier to de-bug

3. strip out the content (including the footer I'm not sure about those <nobr>tags HTML tidy gave me a warning about them too) and test the table layout with &nbsp; in each cell

4. I don't know much about scripts but my HTML Tidy pointed out it was in the wrong place after the body tag, try removing it for testing then link to it through an external file from between the <head> tags

Tables are a nightmare to de-bug ;)
Suzy

nanasai

4:38 pm on Dec 24, 2002 (gmt 0)

10+ Year Member



Dear Suzy:

Thank you, Thank you, Thank you! Can't thank you enough. It appears that the problem was with the script and thanks to your suggestion. It is appearing fine now in Netscape 7.0 (atleast on my computer).

I am really grateful to you for your suggestions. Wish you Happy Holidays and a Merry Christmas.