Topic: Floating &lt;div&gt;s and BG Colors in NN4 Pages that link to <a href="https://ozoneasylum.com/backlink?for=10705" title="Pages that link to Topic: Floating &amp;amp;lt;div&amp;amp;gt;s and BG Colors in NN4" rel="nofollow" >Topic: Floating &amp;lt;div&amp;gt;s and BG Colors in NN4\

 
Author Thread
jiblet
Paranoid (IV) Inmate

From: Minneapolis, MN, USA
Insane since: May 2000

IP logged posted posted 04-03-2002 16:12 Edit Quote

Okay, does anyone know how to achieve a right float image or div like http://www.coffman.umn.edu/springjam/ without having text run underneath it in Netscape? I can't even tell exactly when it happens, but it happens whether I use the CSS float property or just the div or image align=right.

The other thing is background colors. Is there any reliable way to make a background color of a div in NN4? Or do I need to just use tables.

-jiblet

jiblet
Paranoid (IV) Inmate

From: Minneapolis, MN, USA
Insane since: May 2000

IP logged posted posted 04-04-2002 14:26 Edit Quote

I don't expect there to be an end-all solution to this problem, even some insight to why it happens would be cool...

-jiblet

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

IP logged posted posted 04-04-2002 15:14 Edit Quote

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Phil
Bipolar (III) Mad Scientist

From: Eastbourne, UK.
Insane since: Mar 2000

IP logged posted posted 04-04-2002 19:36 Edit Quote

Don't know much about NN4, because I really don't give a fudge for it. However, you could try putting the image inside a box (nested), then specify your requirements for that. Whether NN4 would accept that I've no idea...

www.scansped.co.uk

jiblet
Paranoid (IV) Inmate

From: Minneapolis, MN, USA
Insane since: May 2000

IP logged posted posted 04-06-2002 00:05 Edit Quote

Well, I am not actually using the FLOAT property per se, but rather the standard HTML align="right" attribute. I did try using the CSS float property, and using a table around the image, none of them changed the behaviour in Netscape. The curious part was that the overlapping only seemed to occur on the second line of the second paragraph (ie, it didn't break when it got to the image, but just continued under it). Coincidentally there was a link at that point, which may offer some clue.

I've run in to this problem in Netscape from time to time, but still haven't pinned down a hard set of circumstances that causes it.

Anyway, I have updated this page and the new format doesn't have a problem in Netscape, so I guess problem solved.

I will however, make use of the background color setting method InI, thanks. I've just been using background-color: #FFFFFF attributes.



-jiblet

brucew
Paranoid (IV) Inmate

From: North Coast of America
Insane since: Dec 2001

IP logged posted posted 04-06-2002 04:50 Edit Quote

I can't speak to the CSS or <div> issue, but text running behind an image aligned right is a known issue in NS4 when the image tag is contained within a paragraph.

So rather than,

<p><img align="right" ... >text ... </p>

use two lines, as in

<img align="right" ... >
<p>text ... </p>

Maybe this one isn't what you were running up against, but it is consistent behavior. It seems to lay out the text then plunk the image over it without reflowing the text. This forces it to place the image first, then flow the text around it. I wouldn't be suprised to find a similar issue and similar solution in CSS.

"the most incredible feats are often accomplished by
those who have had the most incredible challenges"

Dracusis
Maniac (V) Inmate

From: Brisbane, Australia
Insane since: Apr 2001

IP logged posted posted 04-06-2002 21:38 Edit Quote

Firstly, NN4 sucks big time. If you can muster the will to let it die then please do.

Secondly, Float doesn't work in NN4. Well it kinda does but it's that buggy it's just not worth the trouble. Trust me, I've tried.

Thirdly, using align on div's & Images also causes problems in NN4. If you want your text to wrap around an aligned image you should just do it the old school way. Put the text and the image into a table then use the align attribute on an image. If this still sin't working then I'll need to see the page first hand to figure it out.

As for the background colours in NN4 well, is actually has two CSS attributes for the background colour of a layer:

background-color : your color
layer-background-color : your color

The background-color property refers to the background colour of the 'Text' only. The layer-background-color refers to the whole layer. Then you'll most likely have the problem of the layer-background-colorspilling out over the entire screen from the right of the layer. Yet another 'bug'... yay! To fix this you need to set the layers clip properties.

Dracusis
Maniac (V) Inmate

From: Brisbane, Australia
Insane since: Apr 2001

IP logged posted posted 04-06-2002 21:47 Edit Quote

Oh, and try not to use the "<" and ">" characters in the topics of your threads in the future. It makes it impossible to edit your posts. Otherwise I would have fixed up the typo's above.



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu