gwmyers
08-07-2006, 08:05 PM
I am converting my web to a liquid layout so the site can be "pleasantly" viewed in different browser resolutions, mainly 1024 x 768 and up. I only have to code it for IE.
I am using a javascript menu for my left navigation and of course when I position it in one resolution, it looks terrible in another. I have to use this type of menu (tree menu) as it is requested by my client. If I could use another I definately would.
I have attached a screen print of what is happening. Is is possible to have tne left menu fixed under the top navigation at any resolution? Any help would be great!
Here is the CSS code for the left nav:
#containerul, #containerul ul{
text-align:left;
margin:0; /* Removes browser default margins applied to the lists. */
padding:5px; /* Removes browser default padding applied to the lists. */
}
#containerul li{
margin:0 0 0 15px; /* A left margin to indent the list items and give the menu a sense of structure. */
padding:0; /* Removes browser default padding applied to the list items. */
list-style-type:none; /* Removes the bullet point that usually goes next to each item in a list. */
padding-top:10px;
}
#containerul li a:link {color: #FFFFFF}
#containerul li a:visited {color: #FFFFFF}
#containerul li a:hover {color: #66ff99}
#containerul li a:active {color: #FFFFFF}
#containerul .symbols{ /* Various styles to position the symbols next to the items in the menu. */
float:left;
width:12px;
height:1em;
background-position:0 50%;
background-repeat:no-repeat;
}
I am using a javascript menu for my left navigation and of course when I position it in one resolution, it looks terrible in another. I have to use this type of menu (tree menu) as it is requested by my client. If I could use another I definately would.
I have attached a screen print of what is happening. Is is possible to have tne left menu fixed under the top navigation at any resolution? Any help would be great!
Here is the CSS code for the left nav:
#containerul, #containerul ul{
text-align:left;
margin:0; /* Removes browser default margins applied to the lists. */
padding:5px; /* Removes browser default padding applied to the lists. */
}
#containerul li{
margin:0 0 0 15px; /* A left margin to indent the list items and give the menu a sense of structure. */
padding:0; /* Removes browser default padding applied to the list items. */
list-style-type:none; /* Removes the bullet point that usually goes next to each item in a list. */
padding-top:10px;
}
#containerul li a:link {color: #FFFFFF}
#containerul li a:visited {color: #FFFFFF}
#containerul li a:hover {color: #66ff99}
#containerul li a:active {color: #FFFFFF}
#containerul .symbols{ /* Various styles to position the symbols next to the items in the menu. */
float:left;
width:12px;
height:1em;
background-position:0 50%;
background-repeat:no-repeat;
}