SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Threaded View

  1. #1
    SitePoint Evangelist ucahg's Avatar
    Join Date
    Apr 2001
    Location
    Sarnia, Ontario, Canada
    Posts
    434
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Layout of form elements >> Search box

    Hi,

    I am trying to lay out a search box in a column on my web site, but am failing miserably.

    I have attached an image of what I am aiming for, but I can't seem to get it right in CSS.

    I want the input box + submit button combination to take up 100% of the column. The submit button will be a fixed width (in em's) but the text input I want to expand to fill out the rest of the column. Is this possible in CSS (while still keeping the source order of the input before the submit button)?

    Please help [img]images/smilies/smile.gif[/img]

    (the attachment has to be approved first I believe so it won't show up right away)
    Attached Images Attached Images
    Love it? Hate it? Helpful? Useless?
    Use the rate button to let me know what you think of my post!


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
  •