Welcome to WebmasterWorld Guest from 188.8.131.52
Forum Moderators: incrediBILL
All I want is a layer 200px wide and 16px high with a blue background. Basically they should just look like solid bars. Netscape is unstable though and not only are they wider but also sometimes only color the background as far the text goes. Grrrrr.
So, any ideas or am i going to have to put transparent gifs in to stretch them etc? As I said I dont want to have tables inside the layers.
<div id="Layer1" style="position:absolute; left:200px; top:194px; width:200px; height:16px; z-index:1; background-color: #0000FF; layer-background-color: #0000FF; border: 1px none #000000">
<font color="#FF0000">TEST TEXT</font>
Is it NN4 or 6 (or both) that is giving you the problems?
I just realised that in order for the background colour to match the dimensions of the layer size and height you have to give it a border otherwise NN won't display it properly.
You don't even need the border to be visible.
As for the width thing that is just Monday combined with my stupidity - i had redifined the DIV tag to have a line hight of 14px.. DOH!