I have been using the HouseMenu (v1.3) on my DNN site for over 7 months. I am currently trying to modify my site's main skin so that the site's logo is in the top left hand corner and a horizontal Nav bar runs to the logo's immediate right hand side (see the nav bar on
www.ventrian.com for a indication of what I am aiming for).
I have created a skin that does this in Firefox v2, Opera v9 and Safari. However in IE6 or IE7 the nav bar 'refuses' to go to the right of the site's logo, and instead it runs horizontally just under the logo. To see this in action visit
this test page on the site. I am pretty sure this is a CSS issue. I have been wrecking my brain to find a solution but - so far - no luck.
Below are relevant excerpts from my skin's index.html and skin.css file that reveal the set up.
From the skin's index.html
<div id="ControlPanel" runat="server">
[USER] | [LOGIN]
[HOUSEMENU]
Here from the skin.css are the definitions of the various "id" styles used above in the index.html:
#loginlinks
{
text-align: right;
Font-size:8pt;
}
#logo
{
padding: 1px 0 1px 0px; /*margin: 0 0 15px 0; */
float: left;
}
#mainmenu
{
width: 100%;
height: 32px;
background-color: #9999ff;
margin: 2px 0 7px 0px;
}
For the sake of completion here are the CSS STYLES FOR HouseMenu SkinObject
#HouseMenuNav
{
/*menu wrapper div */
font: bold 100% Arial, Tahoma, Verdana, Helvetica, Sans-Serif;
}
#HouseMenuNav ul
{
border: 0;
margin: 0;
list-style: none;
margin: 0px 0px 7px 240px;
}
#HouseMenuNav li
{
font-size: 90%;
list-style: none;
float: left;
padding: 3px 2px 0 0;
}
The full skin.css file
can be accessed here.
I think it might be something to do with "float". I also thought I I may need some "clear" declarations in the css file however I tried various permutations but none worked.
Can anybody help me with this Internet Explorer issue? Anybody have some insight? It must be well understood somewhere?!
Thanks
Eoghano