M
MY
Please take a look to this little sample that works best (for my purposes)
only with MSIE
Infact I want that the <div>#conteiner is the background of <div>#one and
<div>#two and it must be height like the most height <div> conteined into
In this case <div>#two is the most height therefore I want that
<div>#conteiner is height like <div>#two.
BUT that is true only with MSIE but not with FF
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<style type="text/css">
div#conteiner{width:100%;background-color:silver;height:auto}
div#one {width:49%;background-color:red;float:left}
div#two{width:49%;background-color:yellow;float:right}
</style>
</HEAD>
<BODY>
<div id="conteiner">
<br>
<div id="one">
<h2>This div is floating to left</h2><br>and have some rows
</div>
<div id="two">
<h2>This div is floating to right</h2><br>blha blhablha blhablha blhablha
blhablha blhablha blhablha blhablha blhablha blhablha blhablha blhablha
blhablha blhablha blhablha blhablha blhablha blhablha blhablha blhablha
blha<br>and have many rows
</div>
<br><br><br><br>
</div>
<h1>This div is out of div#conteiner and </h1>
</BODY>
</HTML>
only with MSIE
Infact I want that the <div>#conteiner is the background of <div>#one and
<div>#two and it must be height like the most height <div> conteined into
In this case <div>#two is the most height therefore I want that
<div>#conteiner is height like <div>#two.
BUT that is true only with MSIE but not with FF
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<style type="text/css">
div#conteiner{width:100%;background-color:silver;height:auto}
div#one {width:49%;background-color:red;float:left}
div#two{width:49%;background-color:yellow;float:right}
</style>
</HEAD>
<BODY>
<div id="conteiner">
<br>
<div id="one">
<h2>This div is floating to left</h2><br>and have some rows
</div>
<div id="two">
<h2>This div is floating to right</h2><br>blha blhablha blhablha blhablha
blhablha blhablha blhablha blhablha blhablha blhablha blhablha blhablha
blhablha blhablha blhablha blhablha blhablha blhablha blhablha blhablha
blha<br>and have many rows
</div>
<br><br><br><br>
</div>
<h1>This div is out of div#conteiner and </h1>
</BODY>
</HTML>