Reply
round button image for web
Old 05-22-2008, 11:20 AM round button image for web
atouck's Avatar
Skilled Talker

Posts: 53
Name: Atouck
Location: Bucharest, Romania
I am building my first website and I had an idea with the navigation in the home page.
I want it to be made from round icon/buttons which lead to the other pages.
So i designed in photoshop some round buttons/icons. they are 5 in total. EACH have a variant with an effect added for rollover. So when a visitor will hover the mouse over the button the button will change color. This is what I had in mind. When I wanted to save for web as a jpeg an white background was added. Not cool. If i save as gif or png the quality will be affected and I don't want that. The psd file with the website design hasa gradient in the area where the round buttons will go. I can place them there and then I can crop a square with that gradient background and save for web as a jpeg. But if I do that will not the visitors notice when they will click that button that is actually a square and not a circle? can this be avoided? Do I have to give up that rollover variant? any help is appreciated. 10x
atouck is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 05-22-2008, 08:55 PM Re: round button image for web
LadynRed's Avatar
Super Moderator

Posts: 6,718
Location: Tennessee
Quote:
If i save as gif or png the quality will be affected and I don't want that.
Gif will be lousy, PNG24 will be really good, but if there's any transparency around the button, IE6 won't display it properly w/o forcing it with some javascript.

So, save the button as a transparent PNG-24, and it will display properly on the gradient. You'll have to use the scripting to make IE6 display it correctly. You dont' have to abandon the rollover effect.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 05-22-2008, 11:23 PM Re: round button image for web
Banned

Posts: 2
Use PNG, it will be more attractive that what you intended.
friend2 is offline
Reply With Quote
View Public Profile
 
Old 05-23-2008, 04:46 AM Re: round button image for web
atouck's Avatar
Skilled Talker

Posts: 53
Name: Atouck
Location: Bucharest, Romania
Quote:
Originally Posted by LadynRed View Post
Gif will be lousy, PNG24 will be really good, but if there's any transparency around the button, IE6 won't display it properly w/o forcing it with some javascript.

So, save the button as a transparent PNG-24, and it will display properly on the gradient. You'll have to use the scripting to make IE6 display it correctly. You dont' have to abandon the rollover effect.

I don't know javaScript ... is there a standard universal code for this?
atouck is offline
Reply With Quote
View Public Profile
 
Old 05-23-2008, 12:04 PM Re: round button image for web
LadynRed's Avatar
Super Moderator

Posts: 6,718
Location: Tennessee
You don't need to know JS, you just need the right files

http://www.twinhelix.com/css/iepngfix/
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to round button image for web
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12285 seconds with 12 queries