Forum Moderators: open

Message Too Old, No Replies

Netscape and Line Spacing

Text behind image...

         

knighty

3:48 pm on Jan 4, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Anyone know of a way round this?

I have a paragraph of text seperated by a DIV with line spacing set to 16.

All the other browsers are fine cept for Netscape which makes the image appear above the text.

Marshall

4:29 pm on Jan 4, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Can you sticky mail me the URL?

knighty

4:44 pm on Jan 4, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



No URL as is on Intranet

<div class="spaced">
<p>
<img src="euro.jpg" width="220" height="130" border="1"></p>
<p>a load of plain text here</p>
</div>

.spaced { line-height: 16px; margin-left: 6px}

P not defined yet.

bobriggs

4:51 pm on Jan 4, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Not a solution here. I struggled with this one for about a day or so, had no luck. I also had some other side effects that I cannot remember now.

My only solution was to place the line-height in an @import url so that NN4 couldn't see it. Degraded properly, but I did lose the spacing.

Love to see any fix for this though.

Marshall

5:08 pm on Jan 4, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



knightly,

Two thoughts come to mind. Either put each element in its own <DIV> tag or try

<div class="spaced">
<p>
<img src="euro.jpg" width="220" height="130" border="1"><br><br>
a load of plain text here</p>
</div>

knighty

9:02 am on Jan 7, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks Marshall but no joy :(

I've come across this probelm before but never found a fix. Anytime you try to set line spacing above a certain amount and have an image in there somewhere Netscape throws a wobbly.

I'm sure there must be SOME way round it thought??

Marshall

2:04 pm on Jan 7, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Yeah - Ban Netscape :)

knighty

2:06 pm on Jan 7, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



hehe I'll second that ;)