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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T01:16:48+00:00 2026-06-16T01:16:48+00:00

I am fairly new at this, so, this may seem like a very simple

  • 0

I am fairly new at this, so, this may seem like a very simple question to answer.

I’ve started to design my own page, and the code below is where I am at so far.

How it’s looks is…

  • top left – my logo
  • top right – navigation
  • left hand side – images / descriptions

What I am trying to do, and where I am getting stuck, is getting the description to align perfectly underneath each image, and have that same thing happen as you move right across the page.

What is currently happening is that each image, and description underneath, are aligning on the left all the way down the left side of the page.

Current code below:

<body>
  <div class="container">
    <a href="#"><img src="#" alt="Title" width="300" height="100" /></a>
    <div id="navbar">
      <ul>
        <li><a href="#">GALLERY</a></li>
        <li><a href="#">ABOUT</a></li>
        <li><a href="#">BLOG</a></li>
        <li><a href="#">CONTACT</a></li>
      </ul>
    </div>
    <div id="images">
      <img src="#" width="300" height="199" alt="name"></div>
      <div id="descriptions">City</div>
      <div id="images">
        <img src="#" width="300" height="199" alt="name"></div>
        <div id="descriptions">Model</div>
      </div>
  </div>
</body>
  • 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-16T01:16:49+00:00Added an answer on June 16, 2026 at 1:16 am

    I’d use markup like this:

    <figure class="images">
        <img src="#" width="300" height="199" alt="City">
        <figcaption>City</figcaption>
    </figure>
    
    <figure class="images">
        <img src="#" width="300" height="199" alt="Model">
        <figcaption>Model</figcaption>
    </figure>
    
    <figure class="images">
        <img src="#" width="300" height="199" alt="Foo">
        <figcaption>Foo</figcaption>
    </figure>
    

    And some sample CSS:

    .images {
        float: left;
        width: 300px;
        min-height: 200px;
        margin: 0 10px 0 0;
        background-color: #EEE; /* just to show containers since image scr is blank */
    }
    
    .images:last-child {
        margin-right: 0;
    }
    
    .images figcaption {
        text-align: center;
    }
    

    Fiddle

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

Sidebar

Related Questions

I'm fairly new to Android programming, so this may be a simple question, but
This may be a fairly simple question, but I can't seem to find the
I'm still fairly new at using ListView s so this may seem like an
I'm fairly new to directx so this may sound really basic. I have started
This may seem like a stupid question, but I fail to see the problem
This may be a dumb question, so my apologies if so; I'm fairly new
I am fairly new to OSX development, so this may be easy but google
I'm fairly new to servlets so I hope this isn't an obvious question. So
I'm fairly new to Eclipse so if this is something simple I apologize, however
I'm fairly new to rails (only about a month's experience), so this may be

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.