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 8106005
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T00:19:50+00:00 2026-06-06T00:19:50+00:00

In my web app I have a line which looks like this: small textbox

  • 0

In my web app I have a line which looks like this:

small textbox         large textbox        select list

I have a method which is boolean. If it returns false, I need to make the upper line look like this:

small textbox        select list
large textbox

Basically, I need to add a second line with the large textbox.

How to do this?

Here is some code:

<div>
<input style="width:25px; top:0px; left:0px; margin:0px; background:white;" type="text" />
<input style="width:100%; top:0px; left:150px; margin:0px; background:white; float:left;" />
<select style="width:60px;">
    <option value="0">a</option>
    <option value="1">b</option>
</select>
</div>
  • 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-06T00:19:52+00:00Added an answer on June 6, 2026 at 12:19 am

    Try this demo

    Hope this helps. Just replace the if conditions. This is not update with the new code you posted.

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

Sidebar

Related Questions

I have an ASP.NET web app which is small yet has a fair amount
I have an existing large(ish) PHP web app (using Apache and MySQL) which now
I have a feature in my web app like I have to send mails
My web app, up until this point, has been fairly straight forward. I have
I have a web app which replaces few img's with other img's. For example:
I have a jetty 7 based web app which is using up the CPU
I have a run mode in my CGI::Application web-app that I would like to
We have an IIS hosted web method which is randomly dying on us about
I have a simple architecture at the moment which looks a little something like
The legacy web app I have inherited, which was custom-written for Oxfam New Zealand

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.