Soldato
		
		- Joined
- 16 Dec 2003
- Posts
- 2,697
Hey 
I'm having some trouble with my CSS rollovers, here's my code in XHTML:
	
	
	
		
To convert this into using rollovers, I assumed it would be like this:
	
	
	
		
Along with the following code is a seperate CSS file:
	
	
	
		
Why doesn't this work? , my image doesn't show up either
, my image doesn't show up either  . Do I have to use .gif format?
. Do I have to use .gif format?
Please help a newbie in CSS please!
	
		
			
		
		
	
				
			
I'm having some trouble with my CSS rollovers, here's my code in XHTML:
		Code:
	
	<a href="index.html"><img src="menu_home.jpg" width="150" height="30" border="0" alt="Home"></img></a>
		Code:
	
	<a class="menus" href="index.html"></a>
		Code:
	
	a.menus { background: url(menu_home_rollover.jpg); }
a.menus:link { background: url(menu_home.jpg); }
a.menus:hover,
a.menus:focus { background: url(menu_home_rollover.jpg); }Why doesn't this work?
 , my image doesn't show up either
, my image doesn't show up either  . Do I have to use .gif format?
. Do I have to use .gif format?Please help a newbie in CSS please!

 
	 
  
 
		
 
	 
	 
	