September 19, 200620 yr I know this can be done - I just don't know how. Can anyone tell me the code you use to make a graphic hover effect. Like having a red button change to a yellow button when you roll over it?
September 19, 200620 yr Hi, Ooo yes, have used graphic rollovers a few times, this one is very good, and works seamlessly to by cutting out loading the "rollover" and "Click" images as all the states are within one big (not file size) image, the CSS basically moves the graphic depending on the state of the button. Here is the "Easy-to-Follow" tutorial. Website: www.tutorio.com/tutorial/pure-css-image-rollovers Good luck
September 19, 200620 yr Hi Melos This is the kind of technique I use - you create the 'off' and 'on' states in one image and manipulate that with CSS. The examples Ben links to has three states - normal off state, the hover state and the hit state. You might also find these links useful: Fast Rollovers CSS menu hover redux Taming Lists Uberlink CSS menus CSS Sprites Alternatively you can happily pinch my code from this site: www.heriot-toun.co.uk the style sheet for the navs is here: Site Navs Alternatively you could do this without a graphic and use background colours that change on the hover state and you might find these two links useful to find out more about that: Listamatic Lit-O-Matic Any problems let me know know and I'd be happy to help you out. E
September 19, 200620 yr ....could have added a bit, but I think that Eskymo covered what's of it.. follow the links
September 20, 200620 yr Can you do it in Adobe Imageready? I would really like to try this but never took the time to read a tutorial or anything
September 28, 200620 yr Wow, thanks to Eskymo for that collection of very helpful links. I'm already a big fan of Project Seven and A List Apart, but some of the others were brand new to me. Thanks for offering the code for us to swipe, too!
October 3, 200620 yr Question: Are there any problems with rollovers with CSS2 and certain versions of browsers? Are there any other conflicts that anyone has experienced with their CSS pages in certain browsers? Some people think that tables take longer to read than CSS.
October 3, 200620 yr yeah but - you shouldn't be using tables for layout, full stop so why even consider the option!
October 17, 200620 yr I have just wrote a tutorial for seamless image rollovers XHTML/CSS Image Rollovers Tutorial Enjoy
October 18, 200620 yr I reviewed those links and they are very helpful, and I will definately be bookmarking them.
Create an account or sign in to comment