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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:43:56+00:00 2026-05-23T01:43:56+00:00

I have the following HTML file: <!– this is column 1 –> <div class=repairGuruBoxRC>

  • 0

I have the following HTML file:

<!-- this is column 1 -->
<div class="repairGuruBoxRC">
    <p>Hi</p>
    <p>hello</p>
</div>
<img src="http://www.google.com" />

<!-- this is column 2 -->
<div class="repairGuruBoxRC">
    <p>Hi</p>
    <p>hello</p>
</div>
<img src="http://www.google.com" />

<!-- this is column 3 -->
<div class="repairGuruBoxRC">
    <p>Hi</p>
    <p>hello</p>
</div>
<img src="http://www.google.com" />

and so on..

How do I style this so I have the div/img combination split into 3 columns instead of just one column? And instead of the text (<p>'s>) above the image, how do I change it so that the texts are on the right side of the image? So in the end, it’s like I have 6 columns, 3 of which are images and 3 are texts.

  • 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-23T01:43:57+00:00Added an answer on May 23, 2026 at 1:43 am

    Like this :

    <style type="text/css">
    .column, .repairGuruBoxRC, .image {float:left;}
    .column {width:200px;}  /* not essential, a div will expand to the size of the content inside it */
    .repairGuruBoxRC, img.image{
        width:100px;
        height:100px;
    }
    
    </style>
    
    <!-- this is column 1 -->
    <div class="column">
    <img class="image" src="http://www.google.com"/>
    <div class="repairGuruBoxRC">
        <p>Hi</p>
        <p>hello</p>
    </div>
    </div>
    
    <!-- this is column 2 -->
    <div class="column">
    <img class="image" src="http://www.google.com"/>
    <div class="repairGuruBoxRC">
        <p>Hi</p>
        <p>hello</p>
    </div>
    </div>
    
    <!-- this is column 3 -->
    <div class="column">
    <img class="image" src="http://www.google.com"/>
    <div class="repairGuruBoxRC">
        <p>Hi</p>
        <p>hello</p>
    </div>
    </div>
    

    You might want to check out the css float property

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

Sidebar

Related Questions

Let's say you have the following HTML: <html> <div style=text-align: center;> <img src=http://www.ps.uci.edu/~tomba/ants/sugar.jpg width=50
I have the following HTML file: <div class=tituloD> </div> <div class=subtituloD> </div> <div class=puntosD>
I have the following HTML in a JSP file: <div class=custList> <table class=dataGrid> <c:forEach
I have the following HTML <a onclick=hi('#i_15', 'second_img.jpg'); return false; href=http://google.com> <img id=i_15 src=first_img.jpg
I have following code in the html file: <div class=navbar navbar-fixed-top> <div class=navbar-inner> <div
I have the following in an html file: <div id='confirm'> <div class='header'><span>Stay Online</span></div> <div
Suppose we have the following HTML file: <html xmlns=http://www.w3.org/1999/xhtml> <head> <title>Test iframe download</title> <script
I'm using this tooltip: http://flowplayer.org/tools/demos/tooltip/index.html I have the following lines in my html file:
I have the following html file: <html xmlns=http://www.w3.org/1999/xhtml xml:lang=en dir=ltr lang=en> <head> </head> <body>
I have the following code snippet from a HTML file: <div id=rwImages_hidden style=display:none;> <img

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.