469,322 Members | 1,638 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,322 developers. It's quick & easy.

hot to left align interior of an input box

I have the following piece of code:

<input type="input" name="link_path_7050" value="http://www.yahoo.com"
style="width:400px"/>

How do you left align the value: http://www.yahoo.com ?

Thanks.

Aug 17 '07 #1
1 1408
gi*******************@yahoo.com wrote:
I have the following piece of code:

<input type="input" name="link_path_7050" value="http://www.yahoo.com"
style="width:400px"/>

How do you left align the value: http://www.yahoo.com ?
What do you mean? There is no whitespace in the value and left alignment
is the default. If you are using a right-to-left locale (such as Arabic or
Hebrew) by any chance, adding dir="ltr" should help. If yes, adding
dir="ltr" to the start tag of the `html' or `body' element might be best.

This appears to have nothing to do with scripting. Please post general
Web authoring questions (such as those about HTML) to
comp.infosystems.www.authoring.misc and CSS questions to
comp.infosystems.www.authoring.stylesheets (after having read their FAQ).
HTH

PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann
Aug 17 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Mikko Rantalainen | last post: by
6 posts views Thread by DM | last post: by
1 post views Thread by =?iso-8859-1?q?Jean-Fran=E7ois_Michaud?= | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.