How to create a different mouseover bkgd for each menu list item?

Platform: WordPress

Goal:
1) Create a different mouseover background for each menu list item.
2) Create said mouseover bkgd without adding an extra div or class. (This is because I want to design a theme that displays unique mouseover bkgd's out-of-the-box.)

The existing selectors I can style are:

<div id="page-nav" class="page-nav">
<ul class="menu sf-menu">
<li class="page_item">

I know there is the pseudo-class, :first-child, but this only works for the first list item. Apparently, there are not

Navigation bar image display issue

I have created the navigation bar below, but the images does not display at all. In dreamweaver they do , but in Mozilla and IE8 not. Can someone please find the errors?
Many thanks!

CSS
[#leftnav a{
display:block;
height: 40px;
text-decoration:none;
}
#leftnav a#home{
background: transparent url(images/nav/home.gif) 0 0 no-repeat center left;
}
#leftnav a:hover#home{
background: transparent url(images/nav/home_h.gif) 0 0 no-repeat center left;
}
#leftnav a#faq{
background: transparent url(images/nav/faq.gif) 0 0 no-repeat center left;
}
#leftnav a:hover#faq{

Rebuilding subtraction.com's menubar

Hello,

I'm trying to rebuild a horizontal menu bar like the one on subtraction.com.

The HTML:

<body>
<div id="container">
	<div id="navigation">
		<ul>
			<li><a href="#">Home</a></li>
			<li><a href="#">About</a></li>
			<li><a href="#">Archive</a></li>
		</ul>
	</div>
</div>
</body>

The CSS:

div{
	font:11pt/15pt arial, helvetica, sans-serif;
}
 
ul{
	list-style-type:none;
	padding:0;
	margin:0;
}
 
li{
	float:left;
	height:35px;
	width:105px;
	line-height:0;
	padding:0;
	margin:0;

menu background images cut off in IE7

Hey all, I have created a navigation bar and seem to be seeing an issue with IE7. The nav menu works fine in IE6 and IE8, as well as firefox 3 and safari 4. In IE7, the background images are pretty prematurely cutoff at the bottom. Any help on what I should change in the CSS to fix this issue would be greatly appreciated.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

Help with full width site

I am building a site with a full width header, navigation and footer and I am wanting to align the nav and footer copy centrally but still have it left aligned. I have tried using text indent but on smaller screen sizes it doesn't work as the copy stays where it is no matter what size screen it is viewed on.

Is this possible? If so how?

Cheers in advanced.

Daz

Syndicate content