Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8297615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T15:28:44+00:00 2026-06-08T15:28:44+00:00

Sorry gals & guys for a potentially dumb question but I have been looking

  • 0

Sorry gals & guys for a potentially dumb question but I have been looking for various ways to solve this issue and it still does not work like I want it to.

This is one of these issues where an input field stays very short (like ~150px) even though the box it is is much wider (like ~1300 px on a wide monitor).

I originally had the html & CSS shown in:
http://jsfiddle.net/jjoensuu/qSz5x/5/

In an attempt to solve this issue I found the solutions in:
How to make text input box to occupy all the remaining width within parent block?

I created what I think is similar to “wdm”‘s answer in above thread, but I am missing something because the result is still a narrow input field. My creation is here:
http://jsfiddle.net/jjoensuu/rJ45P/8/

I also tried the solution from “Marty Wallace” in same thread but could not get it to work.

So as a reference to my code on the jsfiddle site, the “topsearch” box gets the width of ~1300 pixels but the “field-topsearch” input field stays at around 156px.

With some of my attempted solutions the “Go” button wraps to the next line below. Any help on how to solve this would be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T15:28:48+00:00Added an answer on June 8, 2026 at 3:28 pm

    Here is the working fiddel: http://jsfiddle.net/surendraVsingh/rJ45P/18/

    CSS

    .topsearch
        {
        height: 40px;
        line-height: 35px;
        padding-right: 10px;
        width:100%;
        display:table;
        }
    
    .topsearch label
        {
        color: #c98116;
        text-transform: uppercase;
        font-weight: normal;
        font-size: 0.9em;
        margin: 0 5px;
        }
    
    .topsearch label, .topsearch form
        {
        display: inline;
        } 
    
    .topsearchfield
        {
        border: none;
        height: 24px;
        font-size: 15px;
        width: auto;
        } 
    #field-topsearch{width:80%; display:inline-block;}
    .button-start-search submit
        {
        display: table-cell;
        }
    

    ​

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sorry for this simple question, but I can't solve it... There is an example:
im sorry if this has already been covered, i have had a look but
Sorry if this is stupid question, but I'm new to MATLAB. I have a
Sorry if this question's been asked before, but I can't seem to find an
Sorry if this is a repeat, but I've been looking for an answer to
Sorry, I know this question is easy, but I don't know how to get
Sorry but I am not sure how to ask this question but I am
Sorry if this question seems stupid, but it's stumped me for a couple days,
Sorry if this is a stupid question, but is there an easy way to
Sorry if this is a noob question, but All my code is error-free and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.