PhotoshopForums.com Home
Navigate Contact FAQ Search Members
Transparent text over a css gradient background
Post new topic   Reply to topic    PhotoshopForums.com Forum Index -> General Photoshop and Design Discussion
 See a User Guidelines violation? Please contact us.
Author Message

ade234uk

Joined: 05 Dec 2006
Posts: 2



PostPosted: Tue Dec 05, 2006 3:04 pm    Post subject: Transparent text over a css gradient background Reply with quote

I have created a gradient background in photoshop and positioned this on my webpage using css.

I thought it would be nice to create some page titles in photoshop instead of using regular fonts.

Something that has always stumped me, is whenever I have created text on top of a transparent background using photoshop, saved for web, gif @ 256 colours and applied to the webpage, no matter what I do the text always look frazzled around the edges. Is there a technique to creating transparent text that looks smooth?

Do I need to increase the dpi?
View user's profile Send private message

talos

Joined: 07 Dec 2006
Posts: 16



PostPosted: Thu Dec 07, 2006 12:58 pm    Post subject: Reply with quote

I'm not a pro at this part, but setting the Matte to the background color is key to using gifs. It defaults to white, so if your background isnt white, you see edges. Since you have a pattern, you might be able to use one of its colors. Or you could try to put the background behind the text only...

Is the page online?


Just to verify, its the text that is transparent, not the background...
View user's profile Send private message

ade234uk

Joined: 05 Dec 2006
Posts: 2



PostPosted: Tue Dec 12, 2006 1:17 am    Post subject: Reply with quote

Yes the text has been saved with a transparent background.
The background on the webpage is gradient and is postioned using css.

Its fine to use normal text like Arial etc over it, no transparency problems because it is generated using html.

But I would like to use text created in photoshop for my headers because it is sharper.

One thing I did find that worked was saving the text as .png but .png does not work in ie which is just typical.
View user's profile Send private message

talos

Joined: 07 Dec 2006
Posts: 16



PostPosted: Tue Dec 12, 2006 5:41 am    Post subject: png can work Reply with quote

you can put code on your page that will enable pngs to work in IE6. they do work with IE7.
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PhotoshopForums.com Forum Index -> General Photoshop and Design Discussion All times are GMT - 6 Hours
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Contact - User Guidelines >

Copyright © 2003-2016. PhotoshopForums.com, iFroggy Network. All Rights Reserved.
Powered by phpBB © phpBB Group. phpBB SEO. Privacy Policy.
We are in no way affiliated with Adobe. Photoshop, Adobe and related marks are registered trademarks of Adobe.
PhotoshopForums.com