You are here: Re: css form elements « HTML « IT news, forums, messages
Re: css form elements

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация