Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MattSepeta

macrumors 65816
Original poster
Jul 9, 2009
1,255
0
375th St. Y
I am more of a design guy at heart but have been helping my company do some web over-hauling of our sites. We have been using simply Photoshop-made buttons for our links.

Question: Can someone check out this site. I am wondering if the buttons on the top leading off the page are made strictly using CSS/HTML, or if there is a photoshop template behind it.

From what I can gather on a few other CSS Button tutorials there may be a blank photoshop template behind it and the CSS can stretch it and add the text? Am I way off base?

Thanks for helping me handle my code ignorance :(

EDIT: Forgot about the mouseover glow... Is this done strictly through CSS or do you need an "after" state image?
 
I am more of a design guy at heart but have been helping my company do some web over-hauling of our sites. We have been using simply Photoshop-made buttons for our links.

Question: Can someone check out this site. I am wondering if the buttons on the top leading off the page are made strictly using CSS/HTML, or if there is a photoshop template behind it.

From what I can gather on a few other CSS Button tutorials there may be a blank photoshop template behind it and the CSS can stretch it and add the text? Am I way off base?

Thanks for helping me handle my code ignorance :(

EDIT: Forgot about the mouseover glow... Is this done strictly through CSS or do you need an "after" state image?

Those are done with a background image:
http://komotion.com/wp-content/themes/komotion/styles/blue/button_sprite.png

The mouseover effect is using javascript to change the opacity of the image -- it makes it slightly more transparent (80% transparent), which gives the "lightening" effect. Nice little effect!
 
Just keep in mind as well that the transparency trick doesn't work in IE so make sure you have a fall back in those instances.

Good point! I'd recommend using jQuery for a project like this. The jQuery transparency functions work across all browsers.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.