By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,903 Members | 1,977 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,903 IT Pros & Developers. It's quick & easy.

Peekaboo I think... IE6 Border Bug.... Any ideas?

P: n/a
Hi Everyone..
hope you can help!

I have a IE6 border bug,
most of the common fixes tell me to use relative on my container divs.

This fixed some problems but now I have a left border problem and a top
right corner problem

here is the code:

/* ********************************** */

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
/>
<title>Untitled Document</title>

<style>
div.promo-wrap-top{
position:relative;
height: 13px;
padding: 0px;
border-left: 1px solid #a6a6a6;
border-right: 1px solid #a6a6a6;
border-top: 1px solid #a6a6a6;
}

div.promo-wrap-middle-sml{
position:relative;
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
}

div.info-container{
position:relative;
margin-left: 4px;
margin-right: 4px;
margin-top: -9px;
margin-bottom: 4px;
}

div.prod-card-leftcol{
float: left;
}

div.clear{
clear: both;
}

div.box-bottom-product-card{
position:relative;
height: 13px;
border-left: 1px solid #a6a6a6;
border-right: 1px solid #a6a6a6;
border-bottom: 1px solid #a6a6a6;
margin-top: -14px;
margin-right: 1px;
}

</style>
</head>

<body>

<div class="promo-wrap-top"></div>
<div class="promo-wrap-middle-sml">
<div class="info-container">
<div
class="prod-card-leftcol"><img
src="images/NETSite/1x1blue.gif" width="200" height="500" border="0"
/></div>
<div
class="prod-card-rightcol">
Lorem ipsum dolor sit amet,
consetetur sadipscing elitr, sed diam
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
sed diam voluptua. At vero eos et accusam et justo duo dolores et ea
rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem
ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing
elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna
aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo
dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus
est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur
sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et
dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam
et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea
takimata sanctus est Lorem ipsum dolor sit amet.

Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse
molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero
eros et accumsan et iusto odio dignissim qui blandit praesent luptatum
zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum
dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh
euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
</div>
<div class="clear"></div>
</div>
</div>
<div class="box-bottom-product-card"></div>

</body>
</html>

cheers!

Nov 28 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.