Yani burada kimse var mı bu yapmış kim olduğunu ya da bunu yapmak için bir yol bilen varsa benim son vuruş, bana yardım edin ... Ben farklı çözümler denedim ama bunların hiçbiri çalışmıyor ...
I have two divs, one on the left, and one on the right side of my page. I have an iframe in the middle of my site, which content is loaded from a php file with mysql results in it. I want the two divs on my page to get the TOTAL height of my page and set it as its own height so the borders continue all the way down. I also would like the iframe to adjust its height depending on the "results_table" which "myPhpFile" echoes out.
İşte benim iki divs kodu:
<div class="bgr_left">
<div class="bgr_right">
İşte css:
.bgr_right {
background-image: url(../Graphics/bgr_right.jpg);
background-repeat: repeat-y;
background-position: right;
position: absolute;
top: 0px;
width: 30px;
right: 0px;
background-color: #E7F5F0;
}
VE
.bgr_left {
background-image: url(../Graphics/bgr_left.jpg);
background-repeat: repeat-y;
background-position: left;
position: absolute;
left: 0px;
top: 0px;
width: 30px;
background-color: #E7F5F0;
}
Ve burada bir tablonun içindeki iframe:
<table width="850px" height="1000px" border="0" align="center">
<tr>
<td width="845px" height="998px">
<iframe style="border:none; width:100%; height:100%;" name="iframe001" src="frame.html" id="iframe001"></iframe>
</td>
</tr>
</table>
Ve burada şeklidir:
<form id="nav_form_main" name="nav_form_main" action="bincgi/myPhp.php" target="iframe001" method="get">
Ve burada mysql sorgu bir tablo oluşturur php dosyasında parçasıdır:
while($row = mysql_fetch_array($qry_result)){
My question: Is this way the best way to get two side borders on my page? VE, is there a way to set the iframe height to the content which is about to be loaded inside it from my "FORM"...
BACKGROUND HISTORY: I have a form on my site, which targets the iframe, and the action on the form is a php file which returns a mysql query result inside a table. So this table is what ends up inside the iframe!