You are here: IE6 Border Bug <>$%(any ideas? « HTML « IT news, forums, messages
IE6 Border Bug <>$%(any ideas?

Posted by silco on 11/28/06 13:51

Hi Everyone..
hope you can help!

I have a IE6 browser 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
riogh 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!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация