?
=?ISO-8859-1?Q?Tom=E1=9A_Bedn=E1=F8?=
Hi all,
did everone of you solve following problem:
a couple of div ( or table or spans ... what ever ) styled float:left;
display incorrect in ie4x. More specificly it doesnot warp to "next
row", it continues on to right, so the browser gets scrollbar, insted
of warping it.
here is the very simple htmlCode:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled</title>
<link rel="stylesheet" type="text/css" href="css/main.css">
<style type="text/css">
.floatLeft { float: left;}
.tblStyle { float:left; border: inset 1px; }
</style>
</head>
<body>
htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode
htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode
htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode
htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode
<br><br>
<script type="text/javascript" language="JavaScript">
<!--
var i;
for ( i=0;i<20;i++ )
document.write('<table class="tblStyle" cellpadding="0"
cellspacing="0"><tr><td><img src=".." width="100"
height="100"></td></tr></table>');
//-->
</script>
<br clear="left">
htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode
htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode
htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode
htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode
</body>
</html>
Does enyone know how make ie4 display it correctly or is there any
other way how to display unknown count of objects sidebyside without
using table?
Thanks a lot. Tomas
--------------------------------------------------------------
Tomas; BEDNAR; | Web Programmer
FG Forrest, a. s.
(e-mail address removed), www.fg.cz
Tel.: +420 222 242 204, +420 491 417 111
Fax: +420 491 433 022
did everone of you solve following problem:
a couple of div ( or table or spans ... what ever ) styled float:left;
display incorrect in ie4x. More specificly it doesnot warp to "next
row", it continues on to right, so the browser gets scrollbar, insted
of warping it.
here is the very simple htmlCode:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled</title>
<link rel="stylesheet" type="text/css" href="css/main.css">
<style type="text/css">
.floatLeft { float: left;}
.tblStyle { float:left; border: inset 1px; }
</style>
</head>
<body>
htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode
htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode
htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode
htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode
<br><br>
<script type="text/javascript" language="JavaScript">
<!--
var i;
for ( i=0;i<20;i++ )
document.write('<table class="tblStyle" cellpadding="0"
cellspacing="0"><tr><td><img src=".." width="100"
height="100"></td></tr></table>');
//-->
</script>
<br clear="left">
htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode
htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode
htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode
htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode htmlcode
</body>
</html>
Does enyone know how make ie4 display it correctly or is there any
other way how to display unknown count of objects sidebyside without
using table?
Thanks a lot. Tomas
--------------------------------------------------------------
Tomas; BEDNAR; | Web Programmer
FG Forrest, a. s.
(e-mail address removed), www.fg.cz
Tel.: +420 222 242 204, +420 491 417 111
Fax: +420 491 433 022