Hi,
I'm having a spot of bother with floating images. I'm using the DMX2004
trial.
Unfortunately, this would not work in NN7 & NN4.7 :
The styles :
1, The div :
..navboxcontent {
background-color: #F0FFF0;
border-color: #C0C0C0;
border-style: dashed;
border-width: 1px;
color: #008000;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: x-small;
padding: 2px;
width: 350px;
}
2, The style applied to the image (the image is placed in the div with the
text) :
..marginleft{
float: left; */not applied to the NN4.7 stylesheet/*
margin: 0 10px 10px 0;
}
3, example of the html :
<div class="navboxco ntent">
<p><a href="supremecs s.htm"><img class="marginle ft"
src="images/thumbnails/tn_suplaquee_50 .jpg" width="55" height="36"
border="0">Supr eme : largeur 3,20m</a></p>
</div>
Perfect in IE6, acceptable but buggy in NN4.7 (but who uses that browser
anyway) and completely crap in NN7. The latter surprises me - NN7 is usually
okay. I hate to think how it must appear in Opera. I've tried putting the
"marginleft " style in "navboxcontent" , to no avail.
Here's a page where the above is up and running :
Any ideas anyone ? Where have I gone wrong ?
Thanks
Peter
I'm having a spot of bother with floating images. I'm using the DMX2004
trial.
Unfortunately, this would not work in NN7 & NN4.7 :
The styles :
1, The div :
..navboxcontent {
background-color: #F0FFF0;
border-color: #C0C0C0;
border-style: dashed;
border-width: 1px;
color: #008000;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: x-small;
padding: 2px;
width: 350px;
}
2, The style applied to the image (the image is placed in the div with the
text) :
..marginleft{
float: left; */not applied to the NN4.7 stylesheet/*
margin: 0 10px 10px 0;
}
3, example of the html :
<div class="navboxco ntent">
<p><a href="supremecs s.htm"><img class="marginle ft"
src="images/thumbnails/tn_suplaquee_50 .jpg" width="55" height="36"
border="0">Supr eme : largeur 3,20m</a></p>
</div>
Perfect in IE6, acceptable but buggy in NN4.7 (but who uses that browser
anyway) and completely crap in NN7. The latter surprises me - NN7 is usually
okay. I hate to think how it must appear in Opera. I've tried putting the
"marginleft " style in "navboxcontent" , to no avail.
Here's a page where the above is up and running :
Any ideas anyone ? Where have I gone wrong ?
Thanks
Peter
Comment