Dodge
08-22-2005, 02:10 PM
Hi all,
Interesting behavior, for me -being so inexperienced I guess, or I'm doing something wrong... please check screenshot for example. This screencap is of IE6:
In FF and Opera the image is in the forefront (as I intended) - only IE is placing the div on top of the floated image. I tried setting a z-index but I'm not sure if I did it right - it had no effect.
Here is the code I'm using:
<a href="http://www.abcnews.go.com/International/wireStory?id=1056916" target="_blank"><img src="images/news/occupation291lg.jpg"
width="150" height="100" class="floatleftborderpad" align="left" alt="Sunnis Warn Against Constitution Draft" /></a>
<h3>Sunnis Warn Against Constitution Draft</h3>
<div class="stories">BAGHDAD, Iraq Aug 21, 2005 — A day before the deadline for the new constitution, Sunni Arabs appealed Sunday to the
United States to prevent Shiites and Kurds from pushing a draft through parliament without their consent, warning it would only worsen the crisis in Iraq.
<br /><a href="http://www.abcnews.go.com/International/wireStory?id=1056916" target="_blank">(Full Story)</a></div>
And the CSS:
.stories {
background-color: #ffffff;
border: 1px solid #cccccc;
padding: 6px;
}
.floatleftborderpad {
float: left;
border: 1px solid #666666;
margin: 5px 10px 0 0;
padding: 2px;
}
Thanks for any help with this! :)
Dodge
Interesting behavior, for me -being so inexperienced I guess, or I'm doing something wrong... please check screenshot for example. This screencap is of IE6:
In FF and Opera the image is in the forefront (as I intended) - only IE is placing the div on top of the floated image. I tried setting a z-index but I'm not sure if I did it right - it had no effect.
Here is the code I'm using:
<a href="http://www.abcnews.go.com/International/wireStory?id=1056916" target="_blank"><img src="images/news/occupation291lg.jpg"
width="150" height="100" class="floatleftborderpad" align="left" alt="Sunnis Warn Against Constitution Draft" /></a>
<h3>Sunnis Warn Against Constitution Draft</h3>
<div class="stories">BAGHDAD, Iraq Aug 21, 2005 — A day before the deadline for the new constitution, Sunni Arabs appealed Sunday to the
United States to prevent Shiites and Kurds from pushing a draft through parliament without their consent, warning it would only worsen the crisis in Iraq.
<br /><a href="http://www.abcnews.go.com/International/wireStory?id=1056916" target="_blank">(Full Story)</a></div>
And the CSS:
.stories {
background-color: #ffffff;
border: 1px solid #cccccc;
padding: 6px;
}
.floatleftborderpad {
float: left;
border: 1px solid #666666;
margin: 5px 10px 0 0;
padding: 2px;
}
Thanks for any help with this! :)
Dodge