Forum Moderators: open

Message Too Old, No Replies

two questions for NS4 browsers

         

jerrynyc

12:50 pm on Oct 13, 2003 (gmt 0)

10+ Year Member



I have a table with the width set to 100% and two cells; a left fixed cell for my links and a right fluid cell with my content.
First question is I can't seem to give any padding to the content cell in NS4 so that the text isn't flush with the edge of the cell.
Second question concerns the left cell with the links. I would like not to set a width for this cell so that it can expand to fit the content, but in NS4 the content overflows the cell. In addition, I still also need to put a single pixel image to keep the cell large enough not to have overflow problems in NS4x.
Does anyone have any suggestions?

Thanks

Jerry

DrDoc

2:35 pm on Oct 13, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Use CSS for all styling, and include the style sheet using the @import method, thus hiding any styles from NN4 and giving NN4 a plain b&w page... ;)

jerrynyc

3:23 pm on Oct 13, 2003 (gmt 0)

10+ Year Member



I am already doing that. The problem is that I have to include the various width fixes in the html for the left menu cell so that it's readable in NS4 which makes my cell too wide for the other browsers. As far as I know there is no way to do this in CSS for NS4. I have a @import style sheet for the other browsers and a linked style sheet for NS4.

DrDoc

7:11 pm on Oct 13, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What I meant was use @import, period. No extra style sheet for NN4, nothing. Give NN4 an unstyled page.

However, if you want to know some NN4 hiding tricks, please consult the thread about making style sheets work in NN4 [webmasterworld.com]

jerrynyc

12:12 pm on Oct 15, 2003 (gmt 0)

10+ Year Member



Hi everyone,

Just to let you know I was able to solve both problems.

The problem with padding a table cell in NS4 was solved by wrapping the content with a division and then styling that div with css. The problem with overflow in the left cell was removal of the declaration in the main cell width="100%".
Thanks to all
Jerry