I have a two column page and I have a dropdown menu that i created using Asp.net and I want the size of this menu to adjust with a diffrent size of resolution but it does not work for me. It works fine when i use 768x1024 but when i change to 600x800 it goes beyond the screen size and create a horizontal scrool bar which i do not want. below is my CSS that i use to create my vertical bar and
#VmenuBar {
position: absolute;
top:0px;
left:0%;
width: 14%;
height:600px;
background-color: skyblue;
}
#HorizontalMenu{
position: absolute;
top:85px;
left:16%;
Width=85%
}
<div id=HImage><img src="images/costEst.gif" alt="Cost Estimating Section" /></div>
<div id=VmenuBar>
<img src="images/hublogo_blue.jpg" alt="Ihub Logo"/></div>
<div id=HorizontalMenu >
<asp:Menu ID="Menu1" StaticDisplayLevels="2" runat="server" Orientation="Horizontal" DataSourceID="SiteMapDataSource1" BackColor="RoyalBlue" DynamicHorizontalOffset="2" Font-Names="Verdana" Font-Size="0.8em" ForeColor="White" StaticSubMenuIndent="10px" StaticEnableDefaultPopOutImage="False" EnableViewState="False" Width="85%"></asp:Menu>
#VmenuBar {
position: absolute;
top:0px;
left:0%;
width: 14%;
height:600px;
background-color: skyblue;
}
#HorizontalMenu{
position: absolute;
top:85px;
left:16%;
Width=85%
}
<div id=HImage><img src="images/costEst.gif" alt="Cost Estimating Section" /></div>
<div id=VmenuBar>
<img src="images/hublogo_blue.jpg" alt="Ihub Logo"/></div>
<div id=HorizontalMenu >
<asp:Menu ID="Menu1" StaticDisplayLevels="2" runat="server" Orientation="Horizontal" DataSourceID="SiteMapDataSource1" BackColor="RoyalBlue" DynamicHorizontalOffset="2" Font-Names="Verdana" Font-Size="0.8em" ForeColor="White" StaticSubMenuIndent="10px" StaticEnableDefaultPopOutImage="False" EnableViewState="False" Width="85%"></asp:Menu>