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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...