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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T20:52:13+00:00 2026-05-11T20:52:13+00:00

There’s some mysterious padding between two images while running in IE8 and Quirks Mode

  • 0

There’s some mysterious padding between two images while running in IE8 and Quirks Mode. These two images act as a logo for my prospective website.

I have isolated the problem into single html file,
http://etcbc.org/ie_problem/ie.html.

It’s suppose to say “east toronto baptist church”. As you can see, there’s currently a space between “toro” “nto”. What’s causing this space in IE8 and running in Quirks Mode?

  • 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-11T20:52:13+00:00Added an answer on May 11, 2026 at 8:52 pm

    Non-IE browsers are even worse on that page.

    Your images are each in their own <a /> tags, which have a style of “display: block;“. Display block typically puts each element on its own line (depending on what other styles are applied to them).

    To fix this, remove the “display: block” style from your elements.

    <a href="http://www.etcbc.org/">
        <img style="border-bottom: 0px; border-left: 0px; padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; text-decoration: none; padding-top: 0px" src="logo_1.png" />
    </a>
    <a href="http://www.etcbc.org/">
        <img style="border-bottom: 0px; border-left: 0px; padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; border-top: 0px; border-right: 0px; text-decoration: none; padding-top: 0px" src="logo_2.png" />
    </a> 
    

    If you need your images to be block level elements, use floats to align them with each other, then to fix any (potential) layout issues caused by placing floating elements on your page, use this clever solution.

    You should consider using classes for your styles instead of inlining them if possible. The way things stand right now, they’re going to become a maintenance nightmare.

    Also, if you have control over this, put a doctype (I recommend using XHTML 1.0 Transitional. All the cool kids are doing it!) in the HTML of your pages so you don’t turn Quirks Mode on. Leaving Quirks Mode on can cause a lot of headaches, especially if you try to use “new” techniques to make your site better for your users.

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

Sidebar

Related Questions

There are two weird operators in C#: the true operator the false operator If
There are two popular closure styles in javascript. The first I call anonymous constructor
There are some Magento Connect extensions that I find myself installing every time I
There is a QListWidget containing keywords for search and a QTextEdit containing some text.
There are two major fix engines: opensource QuickFix http://www.quickfixengine.org/ commercial Fix Antenna http://www.b2bits.com/trading_solutions/fix_engines/fix_engine_cpp.html What
There are two tables: poducts [id, name, etc..] and specs [id, product_id, spec_name, spec_value]
There is a conversion process that is needed when migrating Visual Studio 2005 web
There is previous little on the google on this subject other than people asking
There seem to be many ways to define singletons in Python. Is there a
There are a few ways to get class-like behavior in javascript, the most common

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.