WordPress.org

Ready to get started?Download WordPress

Forums

Form input size weirdness (2 posts)

  1. willibrown
    Member
    Posted 8 years ago #

    I'm trying to put a form in a static page.
    <input type="text" name="srt" value="12" size="1" />
    But the size is like 50!!! Why doesn't this work?
    Or to ask it a different way... how "should" it be done?
    The form codex about search and comment was nice but didn't really seem relevant to my "donate" form.

    I was able to constrain it by setting the width of the class to 20px but that ain't right.

  2. Aine
    Member
    Posted 8 years ago #

    Did you try styling the input in your css? Might check there to see if input is already being styled by the css and adjust accordingly. (Just a suggestion.)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.