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

  • Home
  • SEARCH
  • 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 9312721
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T01:41:54+00:00 2026-06-19T01:41:54+00:00

How float be used here to position the Contact information bar underneath the photos.

  • 0

How float be used here to position the Contact information bar underneath the photos. I am floating mostly left, but ic an figure out how to stick the last contact information up with the pictures.

enter image description here

This is where I want it to move up towards, I am unable to do so.
Here is the current set up:

<div id='post'><div id='vpPhotos'>
  <img src='Images/img.jpg'/><img src='Images/default.png'/><img src='Images/default.png'/><img src='Images/default.png'/></br><a id='posttitle' href='#?photoID=$photoID'>View More Pictures</a>
  </div>
    <div id='vpTitle'>
            <h3>$eventTlt</h3>
        </div>
    <div id='vpprice'><b>Price: </b>$priceOfEvent</div>
  <div id='vpdate'>
  </br><b>Start Date:</b>  <div class='float-right'>$eventSD </div>
  </br><b>End Date:</b>  <div class='float-right'>$eventED</div>
  </br><b>Start Time:</b> <div class='float-right'> $eventTime </div>  
  <br/><b>Location Of Event:</b> <div class='float-right'>$location</div>
  <br/><b>Address Of Location:</b> <div class='float-right'>$locationAddress</div></div>
  <div id='eventdesc'>
  </br></br><b>Description:</b> &nbsp&nbsp$eventDesc </div>
<div id='vpcontact'>
  </br><h3 align='left'><b>Contact Information</b></h3> &nbsp&nbsp
  </br><b>Name:</b> &nbsp&nbsp$contactName
  </br></br><b>Email:</b> $emailAddress</div>


<div style='clear:both;'/>
</div>

I am floating all left. I’m not sure thats right after all of my other divs are floating left. #post is the most outer and the rest is basically describable by the name.

#post{
border:3px inset red;
margin-right:20px;
}
#vpPhotos{
border:3px outset blue;
float:left;
width:25%;
}
#vpTitle{
float:left;
border:3px inset green;
}
#vpdate{
float:left;
width: 20%;
border:3px inset blue;
margin-right:100px;
padding-right:300px;
}
#eventdesc{
float:left;
width: 73.74%;
border:3px inset green;
}
#vpcontact{
float:left;
width: 24%;
border:3px inset red;
}
#vpprice{
float:right;
width: 15%;
border:3px inset black;
}
  • 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-19T01:41:55+00:00Added an answer on June 19, 2026 at 1:41 am

    In order to do that you will need to put the photos and contact div in a separate div, float it and put all the other divs in another div which is also floated.

    Working example on JS Bin.

    Updated code:

    HTML:

      <div id='post'>
        <div id='column-one'>
          <div id='vpPhotos'>
            <img src='Images/img.jpg'/><img src='Images/default.png'/><img src='Images/default.png'/><img src='Images/default.png'/></br><a id='posttitle' href='#?photoID=$photoID'>View More Pictures</a>
            </div>
            <div id='vpcontact'>
             <h3 align='left'><b>Contact Information</b></h3> &nbsp&nbsp
              </br><b>Name:</b> &nbsp&nbsp$contactName
              </br></br><b>Email:</b> $emailAddress
            </div>
          </div>
    
           <div id="column-two">
      <div id='vpTitle'>
                  <h3>$eventTlt</h3>
              </div>
          <div id='vpprice'><b>Price: </b>$priceOfEvent</div>
        <div id='vpdate'>
        </br><b>Start Date:</b>  <div class='float-right'>$eventSD </div>
        </br><b>End Date:</b>  <div class='float-right'>$eventED</div>
        </br><b>Start Time:</b> <div class='float-right'> $eventTime </div>  
        <br/><b>Location Of Event:</b> <div class='float-right'>$location</div>
        <br/><b>Address Of Location:</b> <div class='float-right'>$locationAddress</div></div>
        <div id='eventdesc'>
        </br></br><b>Description:</b> &nbsp&nbsp$eventDesc </div>
    </div>
    
    <div style='clear:both;'/>
    </div>
    

    CSS:

    #post {
        border: 3px inset red;
        margin-right: 20px;
    }
    
    #column-one,
    #column-two {
        float: left;
        width: 24%;
    }
    
    #column-two {
        width: 76%;
    }
    
    #vpPhotos {
        border: 3px outset blue;
      width: 98%;
      float: left;
    }
    
    #vpTitle {
        float: left;
        width: 80%;
        border: 3px inset green;
    }
    
    #vpdate {
        width: 99%;
        float: left;
        border: 3px inset blue;
    }
    
    #eventdesc {
        float: left;
        width: 99%;
        border: 3px inset green;
    }
    
    #vpcontact {
        float: left;
      width: 98%;
        border: 3px inset red;
    }
    
    #vpprice {
        float: right;
        width: 15%;
        border: 3px inset black;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can one get a left floating element with a top position. For instance:
I'm trying to float a span right in my message bar. For some reason
I try to use float numbers to case - endcase, but dot is problem.
I used sliding doors technique, explained here: http://www.oscaralexander.com/tutorials/how-to-make-sexy-buttons-with-css.html With only one exception, that I
I have used a scrollTop function in jQuery for navigating to top, but strangely
I have got this code that I used before, but now that it I
I used with apprehension the position:absolute; in my container for my template so that
I have a simple drop down menu, but when used it does not work
I have used string.replaceAll() in Java before with no trouble, but I am stumped
float pts[N][4]={{x1,y1,z1,v1},{x2,y2,z2,v2},...,{xN,yN,zN,vN}}; //in viewsight(0,0)-(w,h); //N==w*h //if pts[n][3]==0 then pts[n] is invalid How to evaluate

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.