Post Reply 
[SOLVED] HTML/JAVA mouseover code
I solved my problem! Thanks for all the help!!! :D
Author Message
Mc Cabe
Storm Trooper

Posts: 1,218.1771
Threads: 177
Joined: 14th Aug 2007
Reputation: 1.43435
E-Pigs: 38.5281
Offline
Post: #6
RE: [HELP] HTML/JAVA mouseover code
geez louise! hehe

'a' means all links, so all links have that styling. Try:

Code:
<a class="backandforward" href="javascript:history.go(-1)"><span>goback</span></a>


Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
a.backandforward {
   width: ##px;
   height: ##px;
   display: block;
   background: transparent url(insert-image-url) top left no-repeat;
}

a.backandforward:hover {
   background: transparent url(insert-hover-image-url) top left no-repeat;
}

a.backandforward span {
  visibility: none;

  /* You could load the hover image here to stop the flicker
  background: transparent url(insert-hover-image-url) top left no-repeat; */
}


couldn't think of a good name for the class, feel free to change it :)


umm?
(This post was last modified: 02/08/2009 10:31 AM by Mc Cabe.)
02/08/2009 10:28 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
[SOLVED] HTML/JAVA mouseover code - Gadget - 01/08/2009, 10:38 PM
RE: [HELP] HTML mouseover code - Mickey - 01/08/2009, 11:02 PM
RE: [HELP] HTML mouseover code - Gadget - 01/08/2009, 11:19 PM
RE: [HELP] HTML/JAVA mouseover code - Mc Cabe - 02/08/2009 10:28 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

 Quick Theme: