Hi all,
frustration frustration frustration
Ive got a conteainer cell that has a background color.
with in the container cell I have 2 other divs,1 floats left, the other right.
The left div as text in it and can vary in height.
The right div has an image in it that is only of height 10px.
In IE, the background shows fine. No problems.
However, in firefox, the background shows fine in the left div but in the right div, it only extends to the height of the image and the remainder below is white.
Code:
<style>
.sNavLink { font-size:.7em; }
A.sNavLink:visited { color:#000000; font-size:.7em; padding-bottom:2px;color:#000000;font-family: Verdana, Arial, Helvetica, sans-serif; text-decoration:none; }
A.sNavLink:link { color:#000000; text-decoration:none; }
A.sNavLink:hover { color:#0033ff; text-decoration:underline; }
A.sNavLink:active { color:#000000; text-decoration:none; }
</style>
</head>
<body>
<div style="clear:both"> </div>
<div style="height:20px;width:160px;background-color:#cccccc;border-bottom:2px solid #ffffff">
<div style=" background:inherit ;width:10px;float:right;padding-top:1px;height:inherit">
<img src="images/arrow.gif" alt="Kingston University News" width="10" height="10" /> </div>
<div style="padding-left:2px;border-bottom:inherit;background:inherit ;text-align:left;width:148px;float:left">
<a href="#" class="sNavLink">Applied Engineering <br /> Research Centre Agency
contest</a>
</div>
</div>
</body>
</html>
Any help on this would be much appreciated as this is most annoying. Its not even like i havce set a backlground color on either of the child divs.
cheers for you time.
Steve
|