Previous Message
Next Message

Keeping a background gradient aligned with text expansion

Sent by David Pratt on 21 March 2006 02:02


Hi there. Can anyone provide any hints on keeping a background gradient 
aligned as text size is expanded. Let's say I have a global menu with a 
top to bottom gradient that is lighter at the center and darker at the 
edges and start with 80% font size.

I want to enlarge the text by some % but I want the shape of the 
gradient to stay pretty much as it was at original text size so it does 
not alter the illusion of the shape. First I am guessing this would 
likely work better with png image than jpg. I have not been using png up 
to this point.  I am thinking the idea might be to have an image of a 
good height but I am thinking you would would give it a vertical 
position that would start it off positioned at about 50% of the height. 
In any case, advice would be appreciated.
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message