Sorry to piggy back on this issue but, I am pulling my hair out trying to figure this out. I am using DNN CMS to do this so dont mind the raunt=“server” stuff.
HTML:
<div id="bg">
<div id="wrapper" class="container16">
<div id="ControlPanel" runat="server" ></div>
<div id="menubg">
<div id="menu" runat="server" visible="false"></div>
<div id="login" class="grid3">
<div id="logintxt"> <dnn:USER runat="server" id="dnnUSER" /> | <dnn:LOGIN runat="server" id="dnnLOGIN" /></div>
</div>
</div>
<div class="clear"></div>
<div id="logo" class="grid3" ><dnn:LOGO runat="server" id="dnnLOGO" /></div>
<div id="search" class="grid4" runat="server" visible="false"></div>
<div id="imgrotator" class="grid16" >
<div id="ContentPane" runat="server" visible="false"></div>
</div>
<div id="panel_wrap" class="grid16" >
<div id="panel1_bg" >
<div id="panel1_inner" runat="server" visible="false" >
</div>
</div>
<div id="panel2_bg" >
<div id="panel2_inner" runat="server" visible="false" >
</div>
</div>
<div id="panel3_bg">
<div id="panel3_inner" runat="server" visible="false" >
</div>
</div>
</div>
<div class="clear"></div>
<div id="terms" class="grid7" runat="server" visible="false"></div>
<div id="copyright" class="grid8" > | Design: <a href="http://americanresults.com">americanresults.com</a></div>
</div><!--end container-->
</div><!--end bg-->
CSS:
* {margin:0;padding:0;}
body {
line-height: 1;
font: 13px/1.5 'Helvetica Neue', Arial, 'Liberation Sans', FreeSans, sans-serif;
background:#333 url(images/Page-BgTexture.jpg) repeat left top;
height: 900px;
position: relative;
min-width:960px;
width:100%;
}
#bg{
background: #333 url(images/Page-BgGradient.jpg) repeat-x left top;
height: 900px;
position: relative;
min-width:960px;
left:0;
top:0;
}
#wrapper{
margin:0 auto;
}
a:link {
color: #CCC;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #CCC;
}
a:hover {
text-decoration: none;
color: #FFF;
}
a:active {
text-decoration: none;
color: #CCC;
}
#logo{
height: 90px;
background: url(images/logo.png) no-repeat;
z-index: 10;
position: relative;
margin-left: 0px;
}
#topsponsor{
height:105px;
}
#login{
border:2px solid white;
float:right;
height:30px;
margin:5px 10px 0 0;
text-align:center;
width:100px;
}
#login a{
color:#CCC;
font-family:"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, Sans-Serif;
font-size:12px;
margin:0;
padding:0;
}
#logintxt {
color:#FFFFFF;
font-size:12px;
font-weight:bold;
margin-left:auto;
width:160px;
text-align: center;
margin-right: auto;
margin-top: 4px;
}
#search{
float:right;
margin:0 10px 0px;
height:32px;
}
#menu_bg{
position:relative;
margin:0 auto;
}
#dnn_menu{
color:#FFF;
margin:0px 10px 10px 0px;
height:32px;
float:left;
width:700px;
_position:relative;
}
#imgrotator{
width: 940px;
height:502px;
background: url(images/home_content.png) no-repeat;
margin-top: -75px;
margin-bottom: -135px;
}
#panel_wrap{
margin: 0 0 0 20px;
width:940px;
}
#panel1_bg, #panel2_bg, #panel3_bg{
background:url(images/home_btm_panel.png) no-repeat;
float:left;
margin-left: auto;
margin-right: auto;
height: 126px;
width: 306px;
}
#panel1_inner, #panel2_inner, #panel3_inner{
width: 306px;
height: 126px;
}
#dnn_ContentPane{
margin:2px 0px 0px 2px;
z-index:-50;
}
#terms{
float:left;
color:#FFF;
font-size:11px;
font-weight:bold;
margin:20px 0 15px 10px;
}
#copyright{
float:right;
color:#FFF;
font-size:11px;
font-weight:bold;
text-align:right;
margin-top:20px;
margin-bottom:15px;
}
/* begin Menu */
/* menu structure */
.art-menu a, .art-menu a:link, .art-menu a:visited, .art-menu a:hover
{
text-align:left;
text-decoration:none;
outline:none;
letter-spacing:normal;
word-spacing:normal;
}
.art-menu, .art-menu ul
{
margin: 0;
padding: 0;
border: 0;
list-style-type: none;
display: block;
}
.art-menu li
{
margin: 0;
padding: 0;
border: 0;
display: block;
float: left;
_float:none;
_diaplay:inline;
position: relative;
z-index: 5;
background:none;
}
.art-menu li:hover
{
z-index: 10000;
white-space: normal;
}
.art-menu li li
{
float: none;
}
.art-menu ul
{
visibility: hidden;
position: absolute;
z-index: 10;
left: 0;
top: 0;
background:none;
}
.art-menu li:hover>ul
{
visibility: visible;
top: 100%;
}
.art-menu li li:hover>ul
{
top: 0;
left: 100%;
}
.art-menu:after, .art-menu ul:after
{
content: ".";
height: 0;
display: block;
visibility: hidden;
overflow: hidden;
clear: both;
}
.art-menu, .art-menu ul
{
min-height: 0;
}
.art-menu ul
{
background-image: url(images/spacer.gif);
padding: 10px 30px 30px 30px;
margin: -10px 0 0 -30px;
}
.art-menu ul ul
{
padding: 30px 30px 30px 10px;
margin: -30px 0 0 -10px;
}
/* menu structure */
.art-menu
{
padding: 4px 2px 0px 2px;
}
.art-nav
{
position: relative;
height: 35px;
z-index: 100;
}
.art-nav .l, .art-nav .r
{
position: absolute;
z-index: -1;
top: 0;
height: 35px;
background-image: url(images/nav.png) no-repeat;
}
.art-nav .l
{
left: 0;
right:0;
}
.art-nav .r
{
right: 0;
width: 948px;
_clip: rect(auto, auto, auto, 948px);
}
/* end Menu */
/* begin MenuItem */
.art-menu ul li
{
clear: both;
}
.art-menu a
{
position:relative;
display: block;
overflow:hidden;
height: 31px;
cursor: pointer;
text-decoration: none;
margin-right: 1px;
margin-left: 0px;
}
.art-menu a .r, .art-menu a .l
{
position:absolute;
display: block;
top:0;
z-index:-1;
height: 93px;
background-image: url(images/MenuItem.png);
}
.art-menu a .l
{
left:0;
right:1px;
}
.art-menu a .r
{
width:402px;
right:0;
_clip: rect(auto, auto, auto, 401px);
}
.art-menu a .t
{
font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, Sans-Serif;
font-size: 13px;
font-style: normal;
font-weight: normal;
color: #E3E3E3;
padding: 0 17px;
margin: 0 1px;
line-height: 31px;
text-align: center;
}
.art-menu a:hover .l, .art-menu a:hover .r
{
top:-31px;
}
.art-menu li:hover>a .l, .art-menu li:hover>a .r
{
top:-31px;
}
.art-menu li:hover a .l, .art-menu li:hover a .r
{
top:-31px;
}
.art-menu a:hover .t
{
color: #F2F2F2;
}
.art-menu li:hover a .t
{
color: #F2F2F2;
}
.art-menu li:hover>a .t
{
color: #F2F2F2;
}
.art-menu a.active .l, .art-menu a.active .r
{
top: -62px;
}
.art-menu a.active .t
{
color: #DEDEDE;
}
/* end MenuItem */
/* begin MenuSubItem */
.art-menu ul a
{
display:block;
text-align: center;
white-space: nowrap;
height: 20px;
width: 180px;
overflow:hidden;
line-height: 20px;
margin-right: auto;
background-image: url(images/subitem-bg.png);
background-position: left top;
background-repeat: repeat-x;
border-width: 1px;
border-style: solid;
border-color: #696969;
}
.art-nav ul.art-menu ul span, .art-nav ul.art-menu ul span span
{
display: inline;
float: none;
margin: inherit;
padding: inherit;
background-image: none;
text-align: inherit;
text-decoration: inherit;
}
.art-menu ul a, .art-menu ul a:link, .art-menu ul a:visited, .art-menu ul a:hover, .art-menu ul
a:active, .art-nav ul.art-menu ul span, .art-nav ul.art-menu ul span span
{
text-align: left;
text-indent: 12px;
text-decoration: none;
line-height: 20px;
color: #F5F5F5;
font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, Sans-Serif;
font-size: 13px;
font-style: normal;
font-weight: normal;
}
.art-menu ul ul a
{
margin-left: auto;
}
.art-menu ul li a:hover
{
color: #F0F0F0;
border-color: #696969;
background-position: 0 -20px;
}
.art-menu ul li:hover>a
{
color: #F0F0F0;
border-color: #696969;
background-position: 0 -20px;
}
.art-nav .art-menu ul li a:hover span, .art-nav .art-menu ul li a:hover span span
{
color: #F0F0F0;
}
.art-nav .art-menu ul li:hover>a span, .art-nav .art-menu ul li:hover>a span span
{
color: #F0F0F0;
}
/* end MenuSubItem */
/*reset css*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
/* remember to define focus styles! */
:focus {
outline: 0;
}
/* remember to highlight inserts somehow! */
ins {
text-decoration: none;
}
del {
text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
border-collapse: collapse;
border-spacing: 0;
}
/*text css*/
a:focus {
outline: 1px dotted;
}
hr {
border: 0 #ccc solid;
border-top-width: 1px;
clear: both;
height: 0;
}
/* `Headings
-----------------------------------------------------------------------------------------------
-----*/
h1 {
font-size: 25px;
}
h2 {
font-size: 23px;
}
h3 {
font-size: 21px;
}
h4 {
font-size: 19px;
}
h5 {
font-size: 17px;
}
h6 {
font-size: 15px;
}
/* `Spacing
-----------------------------------------------------------------------------------------------
-----*/
ol {
list-style: decimal;
}
ul {
list-style: disc;
}
li {
margin-left: 30px;
}
p,
dl,
hr,
h1,
h2,
h3,
h4,
h5,
h6,
ol,
ul,
pre,
table,
address,
fieldset {
margin-bottom: 20px;
}
/*960 frame css*/
/*
960 Grid System ~ Core CSS.
Learn more ~ http://960.gs/
Licensed under GPL and MIT.
*/
/* `Containers
-----------------------------------------------------------------------------------------------
-----*/
.container12,
.container16 {
margin-left: auto;
margin-right: auto;
width: 960px;
_width:auto
}
/* `Grid >> Global
-----------------------------------------------------------------------------------------------
-----*/
.grid1,
.grid2,
.grid3,
.grid4,
.grid5,
.grid6,
.grid7,
.grid8,
.grid9,
.grid10,
.grid11,
.grid12,
.grid13,
.grid14,
.grid15,
.grid16 {
display: inline;
float: left;
position: relative;
margin-left: 10px;
margin-right: 10px;
}
.container12 .grid3,
.container16 .grid4 {
width: 220px;
}
.container12 .grid6,
.container16 .grid8 {
width: 460px;
}
.container12 .grid9,
.container16 .grid12 {
width: 700px;
}
.container12 .grid12,
.container16 .grid16 {
width: 940px;
}
/* `Grid >> Children (Alpha ~ First, Omega ~ Last)
-----------------------------------------------------------------------------------------------
-----*/
.alpha {
margin-left: 0;
}
.omega {
margin-right: 0;
}
/* `Grid >> 16 Columns
-----------------------------------------------------------------------------------------------
-----*/
.container16 .grid1 {
width: 40px;
}
.container16 .grid2 {
width: 100px;
}
.container16 .grid3 {
width: 160px;
}
.container16 .grid5 {
width: 280px;
}
.container16 .grid6 {
width: 340px;
}
.container16 .grid7 {
width: 400px;
}
.container16 .grid9 {
width: 520px;
}
.container16 .grid10 {
width: 580px;
}
.container16 .grid11 {
width: 640px;
}
.container16 .grid13 {
width: 760px;
}
.container16 .grid14 {
width: 820px;
}
.container16 .grid15 {
width: 880px;
}
/* `Clear Floated Elements
-----------------------------------------------------------------------------------------------
-----*/
/* http://sonspring.com/journal/clearing-floats */
.clear {
clear: both;
display: block;
overflow: hidden;
visibility: hidden;
width: 0;
height: 0;
}
/* http://perishablepress.com/press/2009/12/06/new-clearfix-hack */
.clearfix:after {
clear: both;
content: ' ';
display: block;
font-size: 0;
line-height: 0;
visibility: hidden;
width: 0;
height: 0;
}
/*
The following zoom:1 rule is specifically for IE6 + IE7.
Move to separate stylesheet if invalid CSS is a problem.
*/
* html .clearfix,
*:first-child+html .clearfix {
zoom: 1;
}
The menu doesn’t want to play well, the float is all off in IE and it almost seems like everything is not inside of the main page container.
Thank you in advance for your help. Let me know if it would be easier to attach the HTML and CSS here or if you can get it from the link.
-Will