Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
A tag background images not showing in FF
Old 11-02-2008, 02:37 PM A tag background images not showing in FF
Junior Talker

Posts: 3
Trades: 0
Hi all,

I've got the following problem with some buttons i want to use roll-over effects with. I've defined a button div to show up three times in a button bar at the top of my site, each div holding a link to a page opening up in a frame on the page.

Now, in IE6, the background images used in de CSS a-tag code show up, but they don't in Chrome or FireFox. Any ideas on what i'm doing wrong?

Site's URL:


www.icoe.be/NTROPHY/ntrophy2.html

thx
B

CSS Code:

Code:
div.button
	{
		width:200px;
		height:31px;
		border: 0px solid red;
		background: transparent;
	}
	a.upload{ background: url('http://www.icoe.be//NTROPHY/NTbuttons/N Trophy Upload Page1.0.gif') no-repeat center;	}
	a.upload:hover{	background:url("http://www.icoe.be//NTROPHY/NTbuttons/N Trophy Upload Page1.1.gif") no-repeat center;	}

	a.ranking{	background:url("http://www.icoe.be//NTROPHY/NTbuttons/N Trophy Ranking1.0.gif") no-repeat center;	}
	a.ranking:hover{	background:url("http://www.icoe.be//NTROPHY/NTbuttons/N Trophy Ranking1.1.gif") no-repeat center;	}

	a.forum{	background:url("http://www.icoe.be//NTROPHY/NTbuttons/N Trophy Forum1.0.gif") no-repeat center;	}
	a.forum:hover{	background:url("http://www.icoe.be//NTROPHY/NTbuttons/N Trophy Forum1.1.gif") no-repeat center;	}
html-code

Code:
<table width="100%"><tr><th><a class="upload" height="31px" href="http://www.badger1815.be/uploadLOVdev.php" target="frame1"><div class="button"></div></a><th><a class="ranking" href="http://www.badger1815.be/PlayerNRankingFull.php" target="frame1"><div class="button"></div></a><th><a class="forum" href="http://z10.invisionfree.com/Napoleonics_Trophy/index.php" target="frame1" ><div class="button"></div></a></tr></table>
Badger1815 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-02-2008, 05:01 PM Re: A tag background images not showing in FF
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
div elements CANNOT be enclosed in <a>nchor element
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to A tag background images not showing in FF
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.09585 seconds with 12 queries