Jump to content

About specialized CSS button/link rollovers.


Recommended Posts

This is the site I am working on http://webdesign.miad.edu/stimm/ I have the rollover using sprites. I do not know, however, how to move the button lower and over to the right. When I try to re-position, it messes how the sprite is set up. In addition, I would like a lightbox to open with text information when this particular button is clicked. If lightbox is not the correct program or way to do this, please let me know and give other suggestions. Main goal for site-->have each written portion be it's own button. When hovered over, the text has a slight shadow to indicate "hovering". When clicked, it opens a lightbox/fancybox with further information. HTML code: <!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" /><title>Shake, Rattle, and Roll!</title><link href="css/srr.css" rel="stylesheet" type="text/css" /><link href="css/lightbox.css" rel="stylesheet" type="text/css" /><script type="text/javascript" src="scripts/jquery-1.7.2.min.js"></script><script type="text/javascript" src="scripts/lightbox.js"></script> </head> <body> <div id="wrapper"><div id="nav"><ul><li><a href="index.html" id="home-button" class="home-button"><span>Home</span></a></li> </ul></div><!--nav--><div class="clear"></div><!--clear--> </div><!--wrapper--></body></html> CSS Code: css.rtf

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...