Is there codeing for rollovers? |
![]() ![]() |
Is there codeing for rollovers? |
![]()
Post
#1
|
|
![]() HAHA I love korn! ![]() ![]() ![]() Group: Member Posts: 85 Joined: Feb 2008 Member No: 618,986 ![]() |
I want to know if there is codeing for rollovers that don't require any linking.
Just a simple hover over and the image changes. No linkage properties. |
|
|
![]()
Post
#2
|
|
![]() Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 ![]() |
Sure. Try this code:
CODE <style type="text/css"> span.rollover {float:left; background:url(URL) repeat; width:#px; height:#px; display:block;} span.rollover:hover {float:left; background:url(URL) repeat;} </style> Replace the pound symbols with the height and width of the first rollover image. Also, replace the URLs with the urls of your rollover images. Then, use this code: CODE <span class="rollover"> </span> Make sure you leave that space in the middle of the <span> tags, and don't put anything else inside it. |
|
|
![]()
Post
#3
|
|
![]() HAHA I love korn! ![]() ![]() ![]() Group: Member Posts: 85 Joined: Feb 2008 Member No: 618,986 ![]() |
alright ima try this i will re'edit for a problem :O
*EDIT* Works thanks man. |
|
|
![]()
Post
#4
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Administrator Posts: 8,629 Joined: Jan 2007 Member No: 498,468 ![]() |
Topic Closed & Moved
|
|
|
![]() ![]() |