Multiple Background Images Not Working With Links
-
I’m having a little trouble using mutliple background images for a list of links in the header. Here’s my blog that I’m working on: https://www.ourwalkabout.com/. You’ll see the three links in the header, the right two are missing the image for the left of their buttons, I can’t figure out how to get them to appear…
Here’s the code from header.php:
<div id="header-menu"> <ul id="navigation-top"> <li><span><a href="<?php bloginfo('home'); ?>">Home</a></span></li> <?php wp_list_pages('title_li=&depth=1'); ?> </ul> </div>
And here are the style from style.css:
ul#navigation-top { margin: 0 10px 0 0; padding: 0 0; float: right; list-style-type: none; } ul#navigation-top li { margin: 0 0; padding: 0 0; display: block; float: left; background: url(images/header-button-right.gif) no-repeat right top; } ul#navigation-top li span{ margin: 0 0; padding: 0 0; display: block; float: left; background: url(images/header-button-left.gif) no-repeat left top; } ul#navigation-top li a { display: block; margin: 0 20px; padding: 8px 0; background: url(images/header-button-mid.gif) repeat-x left top; font: bold 1.8em Arial, sans-serif; text-transform: lowercase; }
Any help most appreciated!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Multiple Background Images Not Working With Links’ is closed to new replies.