I got some great help here yesterday from runnerboy, and now I have another problem. I'm pretty new to CSS, and I'm sure that's easy to see.
I've put some code at ATO>HTML&CSS Inserts to create a CSS Sprite Rollover Menu. The main page image is a background image added via the "Custom Post Background" plugin. So I'm basically superimposing this Sprite Menu over the background image.
The background image is being pushed way to the left of the footer in FIREFOX, as you can see hereif you scroll the page horizontally. In IE8, space is being created vertically between the background image and the footer.
Here is the DIV part of the Menu:
HTML Code:
<div id="centeredmenu" style="margin-top: 370px; margin-left: 180px;"> <ul> <li id="button1"><a href="#" style="font-family: Nyala; font-weight: normal; font-size: 1.2em; ">HOME</a></li> <li id="button2"><a href="#" style="font-family: Nyala; font-weight: normal; font-size: 1.2em; " class="active">FIRM OVERVIEW</a></li> <li id="button3"><a href="#" style="font-family: Nyala; font-weight: normal; font-size: 1.2em; ">ATTORNEY PROFILES</a></li> <li id="button4"><a href="#" style="font-family: Nyala; font-weight: normal; font-size: 1.2em;">CLIENT SERVICES</a></li> <li id="button5"><a href="#" style="font-family: Nyala; font-weight: normal; font-size: 1.2em;">TESTIMONIALS</a></li> <li id="button6"><a href="#" style="font-family: Nyala; font-weight: normal; font-size: 1.2em;">CONTACT US</a></li> <li id="button7"><a href="#" style="font-family: Nyala; font-weight: normal; font-size: 1.2em;">VIDEOS</a></li> </ul> </div>
Code:
#centeredmenu { float:left; background:transparent; overflow:hidden; position:relative; } #centeredmenu ul { clear:left; float:left; list-style:none; margin:0; padding: 0; position:relative; left:50%; text-align:center; background:transparent; } #centeredmenu ul li { display:block; float:left; list-style:none; margin:0; padding:0; position:relative; right:50%; } #centeredmenu ul li#button1 a { display:block; margin:0 0 0 1px; padding:3px 10px; background:transparent; color:#fff; text-decoration:none; line-height:1.3em; } #centeredmenu ul li#button2 a { display:block; margin:0 0 0 24px; padding:3px 10px; background:transparent; color:#fff; text-decoration:none; line-height:1.3em; } #centeredmenu ul li#button3 a { display:block; margin:0 0 0 35px; padding:3px 10px; background:transparent; color:#fff; text-decoration:none; line-height:1.3em; } #centeredmenu ul li#button4 a { display:block; margin:0 0 0 50px; padding:3px 10px; background:transparent; color:#fff; text-decoration:none; line-height:1.3em; } #centeredmenu ul li#button5 a { display:block; margin:0 0 0 33px; padding:3px 10px; background:transparent; color:#fff; text-decoration:none; line-height:1.3em; } #centeredmenu ul li#button6 a { display:block; margin:0 0 0 30px; padding:3px 10px; background:transparent; color:#fff; text-decoration:none; line-height:1.3em; } #centeredmenu ul li#button7 a { display:block; margin:0 0 0 30px; padding:3px 10px; background:transparent; color:#fff; text-decoration:none; line-height:1.3em; } #centeredmenu ul li#button1 a:hover { background:url(http://sayitwithgreen.com/wp-content/uploads/2011/02/homerollover2.jpg); color:#000; } #centeredmenu ul li a.active, #centeredmenu ul li a.active:hover { color:#fff; background:transparent; font-weight:bold; } #centeredmenu ul li#button2 a:hover { background:transparent; color:#000; } #centeredmenu ul li a.active, #centeredmenu ul li a.active:hover { color:#fff; background:#000; font-weight:bold; } #centeredmenu ul li#button3 a:hover { background:transparent; color:#000; } #centeredmenu ul li a.active, #centeredmenu ul li a.active:hover { color:#fff; background:transparent; font-weight:bold; } #centeredmenu ul li#button4 a:hover { background:transparent; color:#000; } #centeredmenu ul li a.active, #centeredmenu ul li a.active:hover { color:#fff; background:transparent; font-weight:bold; } #centeredmenu ul li#button5 a:hover { background:transparent; color:#000; } #centeredmenu ul li a.active, #centeredmenu ul li a.active:hover { color:#fff; background:transparent; font-weight:bold; } #centeredmenu ul li#button6 a:hover { background:transparent; color:#000; } #centeredmenu ul li a.active, #centeredmenu ul li a.active:hover { color:#fff; background:transparent; font-weight:bold; } #centeredmenu ul li#button7 a:hover { background:transparent; color:#000; } #centeredmenu ul li a.active, #centeredmenu ul li a.active:hover { color:#fff; background:transparent; font-weight:bold; }
Thanks so much for any help!