-
1. Re: Is gradient color changing of text possible?
pziecina Feb 15, 2011 6:09 AM (in response to INTYME1985)Hi
Currently you may well have designed yourself into a corner, 7 years ago no, because what you wish to do can be done in IE using an iefilter, but as for all other browsers this is not an option.
There was a proposal for this effect in css3, but I have not seen it implemented anywhere. In theory it should be possible to apply the css3 gradient via javascript, (or maybe even alone) to your text, but I have never tried it, (will do now though, once I have time).
PZ
-
2. Re: Is gradient color changing of text possible?
Ken Binney-GnPIX3 Feb 15, 2011 6:22 AM (in response to INTYME1985)Can't think of a CSS solution.
This inline styling would be a nightmare when you want to edit your text
Kansas City Crates offers superior protection that guarantees safe transportation of your valuables.
Our reliable methods lower your costs and increase crate quality.
We offer Same Day Service, On-Site crating, Project Management, Guaranteed Price, Senior Discounts and more.
Get the ultimate protection throughout the entire relocation process with Kansas City Crates. We are the leader in Sales and Service.
See it all for yourself right here at KansasCityCrates.com -
3. Re: Is gradient color changing of text possible?
pziecina Feb 15, 2011 6:32 AM (in response to Ken Binney-GnPIX3)Hi Ken
Yes, I did think of using spans, but as you say this would be a nightmare to maintain.
But doing this via javascript would be possible, no I am not offering to write the code, but it would go something like -
Read the total number of lines, set the start and end values for your colour, divide the number of lines into your colour range, then apply the spans via javascript.
PZ
-
4. Re: Is gradient color changing of text possible?
INTYME1985 Feb 15, 2011 7:26 AM (in response to pziecina)Thanks PZ & Ken,
PZ, I follow your logic, but writing the code is beyond me ability (not fishing here)
Ken, how did you apply that in your message?
I debated creating a *.png with a transparent background and posting an image, but then my text wouldn't be searchable.
I've experimented with not including as much text and may just pull the background alltogether.
Thanks again to you both.
JM
-
5. Re: Is gradient color changing of text possible?
Ken Binney-GnPIX3 Feb 15, 2011 8:03 AM (in response to INTYME1985)You are entirely welcome.
There are many online resources which will apply coloring to your text and return the code for you to paste.
-
6. Re: Is gradient color changing of text possible?
INTYME1985 Feb 15, 2011 12:42 PM (in response to Ken Binney-GnPIX3)http://kansascitycrates.com/index3.html
Thanks Ken, I tried the gradient generator you suggested and found in practice, the text looked even worse, not to mention the code mess.
I will tinker around with the background image, that seems to be a more practical solution
Thanks again guys, have a great day.
JM
-
7. Re: Is gradient color changing of text possible?
bemdesign Feb 17, 2011 5:37 AM (in response to INTYME1985)Perhaps the CSS3 background-clip attribute might be worth looking at (see http://trentwalton.com/bgclip/ for an example)... But it's only supported by webkit powered browsers at the moment.




