Forum Moderators: open

Message Too Old, No Replies

Netscape image/table issues

         

pcguru333

1:41 pm on Jun 5, 2002 (gmt 0)

10+ Year Member



I spent a good bit of time yesterday searching the webmasterworld site trying to figure this out.

The site I am working on looks great in IE and Opera, but when viewed in Netscape 6.2 my images (all of them) have line breaks.

I have tried inserting img {display:inline;} in my css file. Changed nothing whatsoever. My images are contained inside table cells.

I must be looking down the wrong path because i am getting nothing but dead ends.

Any ideas?

Nick_W

1:56 pm on Jun 5, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



We should have an FAQ on this board ;)

td img {
display: block;
}

That'll sort the little bugger out ;-)

Nick

pcguru333

2:48 pm on Jun 5, 2002 (gmt 0)

10+ Year Member



Thanks, I had tried that too, but that seems to creat other issues in Netscape and IE. I will have to create a .inline class for certain features as when they go block it changes the format. I think this will work for me, just more tweaking...

pcguru333

2:53 pm on Jun 5, 2002 (gmt 0)

10+ Year Member



Everything is OK now

EXCEPT for my <p> tags. They are leaving space above and below the tags. Any way to make them behave?

Nick_W

3:12 pm on Jun 5, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well, strictly speaking they are behaving, but if you need to alter that behaviour you should have a go at changing there margins like this:

p {
margin: 0;
}

Nick

pcguru333

3:50 pm on Jun 5, 2002 (gmt 0)

10+ Year Member



Thanks that fixed the <p> tags! I know that blovk level elements are supposed to put a space above and below but the size of the space in Netscape was huge.