T O P I C R E V I E W |
rockman |
Posted - 22 Apr 2012 : 16:40:00 Simple question that I couldn't find an answer with a forum search:
I have a label with text "About" that I want to use as a link. I want the MouseOver behavior to inverse the foreground and background colors. But then the effect is not quite right so I add spaces before and after the text... " About ". Now however the spaces before the word inverse with MouseOver (along with the word About) but the spaces after the word don't inverse.
Any solutions?
Thanks, Jeff |
2 L A T E S T R E P L I E S (Newest First) |
rockman |
Posted - 23 Apr 2012 : 06:43:50 Thanks for the quick reply.
I was sure to include all spaces. I even tried putting in the "non-break space" character but that gave the same behavior (pre-word spaces inverted color as wanted but post word spaces did not invert).
I have found an answer though that fits my needs (in case anybody stumbles across this dilema): Forget the spaces idea and instead include "padding" in the MouseOver style -- I used +2 padding.
Nice to see the flexibility of DHE to solve the problem elegantly.
Jeff |
s.dav |
Posted - 22 Apr 2012 : 18:44:00 I tried and it seems to work, are you sure to have applied the over style also over spaces? |