SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    Get my greedy down dotJoon's Avatar
    Join Date
    Apr 2003
    Location
    daejeon, South Korea
    Posts
    2,223
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    extending input form box for title

    Code:
    textarea { width:95%;  }
    I extended a textarea for message by 95% with the code above.

    Now I like to extend the input form box for title.

    If you visit at http://220.89.242.19:8500/test/001/home/write.cfm ,
    You can understand more easily what I am trying to do.



    I tried to add "input { width:95%; }" in style.

    The problem in my trial is that not only the title box but search box and submit buttons are also extended unexpectedly.

    You can see the unexpected result at
    http://220.89.242.19:8500/test/002/home/write.cfm .

    How can I fix it?

  2. #2
    SitePoint Addict
    Join Date
    Jan 2002
    Location
    NJ/NY
    Posts
    346
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For that particular field you want to extend, you can add the "style" css parameter..
    HTML Code:
     <input type=text style='width:95%'>

  3. #3
    Get my greedy down dotJoon's Avatar
    Join Date
    Apr 2003
    Location
    daejeon, South Korea
    Posts
    2,223
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by dtang4
    For that particular field you want to extend, you can add the "style" css parameter..
    HTML Code:
     <input type=text style='width:95%'>
    Thank you


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •