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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T01:10:37+00:00 2026-05-16T01:10:37+00:00

I have an unordered list of images that display inline and float next to

  • 0

I have an unordered list of images that display inline and float next to each other. Everything looks fine in Firefox and Chrome, but in internet explorer the last image is pushed down vertically a bit. Any idea why this would happen? Link is here:

http://www.mercedesberk.org/chic-and-new/manhattan-house

And here is the basic code:

<div id="fatured_properties">
<h4> Also in the Neighborhood </h4>
    <ul>
        <li>
             <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
                <img src="<?php bloginfo('template_directory'); ?>/thumb.php?src=<?php echo get_post_meta($post->ID, 'image', $single = true); ?>&amp;h=135&amp;w=180&amp;zc=1" alt="<?php the_title(); ?>"  />
             </a>
             <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
                 <span><?php the_title(); ?></span>
             </a>
        </li>
        ... etc ....
     </ul>
</div>

And CSS:

#fatured_properties { 
    overflow: auto; 
    text-align: center; 
    width: 100%;
}

#fatured_properties h3 { 
    text-transform: uppercase; 
    color: #f60; 
    font-size: 13px; 
    padding-bottom: 10px; 
    margin: 0 auto; 
    display: block; 
    width: auto;
}

#fatured_properties ul{ 
    display: inline;
}

#fatured_properties ul li{  
    margin: 0 5px; 
    float: left;
}

.hamptons_guide #fatured_properties ul li{ 
    margin: 0 14px; 
}

#fatured_properties ul li img{ 
    display: block; 
    clear: both;
}

#fatured_properties ul li span {
    font: bold 13px "Calibri", Verdana, Helvetica, sans-serif;  
    letter-spacing: 1px; 
    width: 195px; 
    display: block; 
    text-align: left; 
}
  • 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-16T01:10:37+00:00Added an answer on May 16, 2026 at 1:10 am

    Removing the default padding/margins from your ul and li should do the trick:

    #fatured_properties ul{ 
        margin: 0; 
        padding: 0; 
        display: inline;
    }
    
    #fatured_properties ul li{  
        padding: 0; 
        margin: 0 5px; 
        float: left;
    }
    

    All browsers have slightly different padding and margin defaults so it’s a good practice to set them all to zero and then add them back in as needed.

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

Sidebar

Related Questions

In my gallery I have thumbnail images that sit in an unordered list. For
I have a script that turns an unordered list of images into a horizontal
I'm trying to display an unordered list horizontally. In each list item, I have
I have an unordered list and each list element contains a photo and a
I have a unordered list <ul id=images > . There are 3 list items
I have an unordered list whose list items are displaying inline. However, its layout
I have an unordered list that is a child in a smaller parent div
I've coded myself into a CSS corner. I have a list of images that
I have an unordered list and each of the item in the ul has
I have a list of 179 thumbnail images that I am trying to apply

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.