471,881 Members | 1,344 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,881 software developers and data experts.

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 1439
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 YellowAndGreen | last post: by
reply views Thread by zermasroor | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.