html - height auto after div position -


<!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-9" />  <title>başlıksız belge</title>  <style>  #a01 {  	position:relative;  	left: 0px;  	top: 0px;  width:720px;  background-color:gray;      height:100vh;  }  #a02 {  		position:relative;  	left: 0px;  	top: 0px;  width: 720px;      height: auto !important;  	display:block;  background-color:orange;  }  #a03 {  	position:relative;  	left: 0px;  	top: 5px;  width: 710px;  height: 70px;  margin: 0px 5px 5px 5px;  background-color:brown;  }      #a04 {  			position:absolute;  	left: 5px;  	top: 80px;  width: 710px;      height: auto !important;  background-color:blue;  }  #a04a {  max-width:100%;  }  #a05 {  	    position: absolute;      left: 5;      top: 100%;      width: 710px;      height: auto;  	background-color:green;  }  #a05a {  width: 710px;  height: 50px;  background-color:red;  }  #a05b {  width: 710px;  height: 50px;  background-color:yellow;  }      </style>  </head>    <body>  <div id="a01">    <div id="a02">    <div id="a03"></div>    <div id="a04"><img src="710x600.jpg" width="710" height="600" id="a04a"></div>      <div id="a05">  <div id="a05a"></div>  <div id="a05b"></div>  </div>              </div>  </div>  </body>  </html>

http://i.hizliresim.com/9pmnpo.jpg

hello there frame consisting of 3 sections top bottom. bottom covering section 3 relative area

in 1 part absolute height 100px 2 sections height of non-auto in section 3 2 after auto replace div want place absolute location data 2 auto not mean 3 how think should part div css?

one solution without changing html:

#a01 {    position: relative;    left: 0px;    top: 0px;    width: 720px;    background-color: gray;    margin: 0 auto;    padding: 10px;  }  #a02 {    position: relative;    left: 0px;    top: 0px;    width: 720px;    display: block;    background-color: orange;    height: 80px;  }  #a03 {    position: relative;    left: 0px;    top: 5px;    width: 710px;    height: 70px;    margin: 0px 5px 5px 5px;    background-color: brown;  }  #a04 {    position: relative;    margin: 10px auto;    width: 710px;    height: auto !important;    background-color: blue;  }  #a04a {    max-width: 100%;  }  #a05 {    position: relative;    width: 710px;    height: auto;    background-color: green;    margin: 10px auto;  }  #a05a {    width: 710px;    height: 50px;    background-color: red;  }  #a05b {    width: 710px;    height: 50px;    background-color: yellow;  }
<div id="a01">    <div id="a02">      <div id="a03"></div>    </div>    <div id="a04">      <img src="710x600.jpg" width="710" height="600" id="a04a">    </div>    <div id="a05">      <div id="a05a"></div>      <div id="a05b"></div>    </div>  </div>  </div>


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -