southbeach
Programmer
Every time I have to create a page where I use this layout it drives me crazy. It just seems that I cannot apply what I already know and cannot get it to work ... Perhaps, I really do not know ...
My left and right nav-bars are not expanding down with my content, what am I doing wrong?
Thank you all for your assistance!
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
Code:
<body>
<?php flush(); ?>
<div id="fullbodycontent">
<div id="leftnavbar">Left Bar</div>
<div id="container">
<div id="content">
<?php echo 'broswer: '.strtoupper($browser['browser']).'<br />'; ?>
This is the content page!<br />
add about 60 lines here ...<br />
This is the content page! last ...<br />
</div>
<div id="rightnavbar">The right NavBar</div>
</div>
<div style="clear: both;"></div>
<p style="color: green">At the very edge ...</p>
</div>
<div style="clear: both;"></div>
<iframe name="post_iframe" id="post_iframe"></iframe>
<div id="blockScreen"></div>
<div id="viewme"></div>
</body>
Code:
/* CSS Document */
#fullbodycontent {
width: 96%;
min-height: 100% !important;
<?php if(strtoupper($browser['browser']) != 'MSIE') { echo "height: auto;"; } ?>
<?php if(strtoupper($browser['browser']) == 'MSIE') { echo "height: expression((document.getElementsByTagName('html')[0].offsetHeight - 4) + 'px');"; } ?>
margin-left: auto;
margin-right: auto;
background-color: <?php echo BACKGROUNDCOLOR; ?>;
border: 1px solid green;
}
#header {
clear: both;
height: 155px;
width: 100%;
background-color: #006600;
z-index: 1;
text-align: center;
margin-top: -12px;
}
#leftnavbar {
clear: both;
float: left;
width: 24%;
min-height: 100% !important;
<?php if(strtoupper($browser['browser']) != 'MSIE') { echo "height: 100%;"; } ?>
<?php if(strtoupper($browser['browser']) == 'MSIE') { echo "height: expression((document.getElementsByTagName('html')[0].offsetHeight - 4) + 'px');"; } ?>
background: url(<?php echo APPIMAGES; ?>leftbar.png) repeat-y;
color: #000;
background-color: #FFF;
border-left: 1px solid <?php echo APPTHEMECOLOR; ?>;
border-bottom: 1px solid <?php echo APPTHEMECOLOR; ?>;
}
#rightnavbar {
float: right;
width: 18%;
background: url(<?php echo APPIMAGES; ?>rightbar.png) repeat-y;
background-color: #FFF;
min-height: 100% !important;
<?php if(strtoupper($browser['browser']) != 'MSIE') { echo "height: 100%;"; } ?>
<?php if(strtoupper($browser['browser']) == 'MSIE') { echo "height: expression((document.getElementsByTagName('html')[0].offsetHeight - 4) + 'px');"; } ?>
border-right: 1px solid <?php echo APPTHEMECOLOR; ?>;
border-bottom: 1px solid <?php echo APPTHEMECOLOR; ?>;
}
#container {
width: 75%;
min-height: 100% !important;
<?php if(strtoupper($browser['browser']) != 'MSIE') { echo "height: auto;"; } ?>
<?php if(strtoupper($browser['browser']) == 'MSIE') { echo "height: expression((document.getElementsByTagName('html')[0].offsetHeight - 4) + 'px');"; } ?>
float: left;
background-color: #FFF;
}
#content {
float: left;
width: 75%;
min-height: 100%;
<?php if(strtoupper($browser['browser']) != 'MSIE') { echo "height: 100%;"; } ?>
<?php if(strtoupper($browser['browser']) == 'MSIE') { echo "height: expression((document.getElementsByTagName('html')[0].offsetHeight - 4) + 'px');"; } ?>
color: <?php echo APPFONTCOLOR; ?>;
border-bottom: 1px solid <?php echo APPTHEMECOLOR; ?>;
background-color: #FFF;
}
#pagebreak {
clear: both;
width: 99%;
background-color: <?php echo APPTHEMECOLOR; ?>;
background: url(<?php echo APPIMAGES; ?>fill.png) repeat-x;
margin-top: -20px;
}
#footer {
clear: both;
width: 100%;
height: 220px;
float: left;
}
.clear {
clear: both;
}
My left and right nav-bars are not expanding down with my content, what am I doing wrong?
Thank you all for your assistance!
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.