Menu
Hi all,
can someone tell me is there a property that won’t cause this affect:
When I resize the window from maximum to say 1/3 of the page (just to test) for both vertical and horizontal height the actual window will have scrollers where as the div’s will remain the same and not overlap eachother, get smaller or go beneath eachother?
I’ve tried visible, hidden and scroll – with overflow but they don’t work.
Thanks
body{
text-align:center;
font-family:arial,helvetica,geneva,sans-serif;
height:100%;
margin-top: 0px;
margin-bottom: 0px;
width:100%;
background-image: URL("bg.gif");
overflow:auto;
}
#mast, #footer,#main{
text-align:left;
margin:auto;
}
#mast{
width:90%;
padding:0px;
border-style: solid;
border-color:white;
border-top-width : 3px;
border-right-width : 3px;
border-left-width : 3px;
border-bottom-width:0px;
}
#main{
width:90%;
height:auto;
overflow:auto;
background:#cfbfcf;
border-style: solid;
border-color:white;
border-top-width : 0px;
border-right-width : 3px;
border-left-width : 3px;
border-bottom-width:0px;
padding-bottom:5px;
}
#left{
width:15%;
float:left;
background:#cfbfcf;
height:auto;
margin:5px;
}
#middle{
width:64%;
float:left;
background:white;
margin-top: 5px;
margin-right:0px;
}
#right{
width:17%; /*some versions of IE will force a 20% width to the second line*/
float:right;
height:80%;
margin: 0px;
margin-top: 5px;
margin-right:0px;
margin-left:0px;
}
#footer{
width:90%;
background:#003466;
clear:both;
height: auto;
border-style: solid;
border-color:white;
border-top-width : 0px;
border-right-width : 3px;
border-left-width : 3px;
border-bottom-width:3px;
.maint{
width:90%;
background:#cfbfcf;
border-style: solid;
border-color:white;
border-top-width : 3px;
border-right-width : 3px;
border-left-width : 3px;
border-bottom-width:0px;
.tables{
text-align:left;margin-top:0px;border:1px;border-style: dotted;border-spacing:0px;padding:0px;border-color:#650066;color:#650066;
.feat{
text-align:left;margin-top:0px;border:1px;border-style: dotted;border-spacing:0px;padding:0px;border-color:#650066;color:#650066;
</FONT></CENTER></TD></TR></TBODY></TABLE>
switch ($location)
{
case 'index': include ('middle.php');
break;
case 'search': include ('search.php');
break;
case 'aboutus': include ('about.php');
break;
case 'contact': include ('contact.php');
break;
}
<tr>
<td class="tables"><li><a href="index.php?location=index"><font size=2 face="arial"><B>Home</a></td>
</tr>
<tr>
<td class="tables"><li><a href="index.php?location=search"><font size=2 face="arial"><B>Search</a></td>
</tr>
<tr>
<td class="tables"><li><a href="index.php?location=menu"><font size=2 face="arial"><B>Menu</a></td>
</tr>
<tr>
<td class="tables"><li><a href="index.php?location=aboutus"><font size=2 face="arial"><B>About Us</a></td>
</tr>
<tr>
<td class="tables"><li><a href="index.php?location=contact"><font size=2 face="arial"><B>Contact Us</a></td>
</tr>
0.1.9 — BETA 5.18