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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:21:03+00:00 2026-05-26T11:21:03+00:00

I have two pictures, one with an onclick function that disappears and in place

  • 0

I have two pictures, one with an “onclick” function that disappears and in place another picture appears. I’m just trying to figure out the code which will make one div (#b1) appear to the left of the second (#b2) and have them be at an even level, and when clicked #f1 will appear in place of #b2, but with compensation for the size of the image to the left of it. My problem was that I had image overlapping and I want their positions to adjust.

What I had:

#b1 { position:absolute;  }
#b2 { position:relative; left:500px;}
#f1 { position:relative; left:500px;}
  • 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-05-26T11:21:04+00:00Added an answer on May 26, 2026 at 11:21 am

    Try this:

    #b1, #b2, #f1 {
        float:left;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two pictures. one arrow_right.png and arrow_left.png . I want to display Only
I have two entites: Folder and Picture . A Folder can have many Pictures
I have two Ajax functions that are on the same div, the first one
How to automatically switch the background in layout android:background=@drawable/image> I have two pictures I
When Using UIPickerController I have two choices on my App: take a picture take
I have Two tables. 1.Users table (Username , Name) 2.Picture table( ID , Username
Have two actionsheet buttons and one modalviewcontroller on mainviewcontroller in application. Now for two
I have two tables in a derby database that I want to query together.
I have two php pages. Page 1 contains one form which i submitted with
I have two problems that have bugged me for hours. connected/2 is supposed to

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.