You are here: Re: newbie: adding * to the tail of a input field « HTML « IT news, forums, messages
Re: newbie: adding * to the tail of a input field

Posted by Harlan Messinger on 01/08/07 00:00

Jeff wrote:
> Hey
>
> I want to add this char "*" to the end of a input field. The reason I want
> this * is to tell users that the input field is required to have a value.
>
> I tryed using this traditional approach:
> <td style="width:60%; background-color:#003399;">
> <input type="text" name="username" id="username" />*
> </td>
> But the * get on a new line under the input field!

CSS for the TD: white-space: nowrap;

 

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

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