|
Posted by timothy.pollard on 09/03/06 17:48
Hi guys
Thanks for the ideas.
Yes, my customer does feel strongly about style over usability. I did
make the point.....!
In the end I resolved this by creating a separate style and simply
calling this as below on the form elements:
<input name="EmlSubj" type="text" class="blueform" id="EmlSubj"
value="SUBJECT" size="36"
ONFOCUS="clearDefault(this);this.className='blueform2';this.size='30'">
In this example my onfocus has three elements, to clear the default, to
change the classname and also to resize the box - I chose to make my
active font larger so needed to reduce the number of chars
proportionately to ensure my layout didn't get messed up.
Haven't tested it on everything but works ok on firefox pc and safari
mac as well as IE pc.
Thanks for the help.
TP
Navigation:
[Reply to this message]
|