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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T21:09:53+00:00 2026-05-10T21:09:53+00:00

I have the following code <html> <head> <title>Test</title> <style type=text/css> <!– body,td,th { color:

  • 0

I have the following code

<html> <head> <title>Test</title> <style type='text/css'>  <!--  body,td,th {      color: #FFFFFF;  }  body {      background-color: #000000;  }    #Pictures {      position:absolute;      width:591px;      height:214px;      z-index:1;      left: 17%;      top: 30%;      text-align:center;  }  #Links {        width:600px;      height:30px;      z-index:2;      top: 184px;      font-family: 'Broadway', Broadway, monospace;      font-size: 14px;      color: #FFFFFF;      text-align: center;    }  .links2 {      font-family: Broadway;      color: #FFFFFF;      text-decoration: none;  }      a:links2, a:visited {      color: #ffffff;  }    a:hover, a:active {      color: #333333;  }  #Main {      position:absolute;      width:800px;      height:600px;      z-index:2;      left: 15%;      top: 10%;      right: 15%;      border-top-style: none;      border-right-style: none;      border-bottom-style: none;      border-left-style: none;    }  #Logo {      position:absolute;      float: left;      width:104px;      height:100px;      z-index:2;  }    </style>  </head>    <body>    <div id='Main'>  <div id='Pictures'>  <div>  <a href='1.html' ><img src='1.gif' alt='x' width='181' height='173' border='0' /></a>  <a href='1.html' class='links2'>1</a>  </div>  <div>  <a href='2.html' class='links2'><img src='2.gif' alt='x' width='181' height='173' border='0' align='top' /></a>  <a href='2.html' class='links2'>2</a>  </div>  <div>  <a href='3.html' class='links2'><img src='3.gif' alt='3' width='181' height='173' border='0' /></a>  <a href='3.html' class='links2'>3</a>   </div>  </div>  </div>  <div id='Logo'><img src='logo.gif' alt='x' width='104' height='100' border='0'/></div>  </div>  </body>  </html> 

Which is displaying the picture layers vertically.

I am trying to make it o the 3 images are aligned horizontally with the text centered underneath them. Why are they defaulting to vertical, and can I change this behavior?

  • 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. 2026-05-10T21:09:54+00:00Added an answer on May 10, 2026 at 9:09 pm

    I think a display: block; on your links2 class should put the links under the images correctly.

    Also, to get the images to line up horizontally, use <span>s instead of <div>s inside the ‘Pictures’ div, and float them left.

    #Pictures span {    float: left;    margin-right: 5px; } 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following code in header.php to echo the body's id: <body id=<?php
Please have a look to the following code: <?php $nomeDominio=''; if (isset($_GET['infoDominio'])) { $nomeDominio
I have the following code that executes a C++ program and outputs it :
i have a strange problem with sending HTML mail in c#. Basically i am
I'm 10 lines in to my second attempt at HTML and CSS and it
I have been struggeling all day to read a json file from server and
I have a page with anchor tags that are being converted to JQuery UI
I have an embedded application running httpd for a web server. On the main
I am using Eclipse with GAE on a MacBook Pro with GChart. My problem
I am using a web application framework (Symfony 1.3.6), which follows the MVC pattern.

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.