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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T02:27:42+00:00 2026-05-31T02:27:42+00:00

Here is a piece of HTML that does not display well in Firefox (10)

  • 0

Here is a piece of HTML that does not display well in Firefox (10)

<!DOCTYPE html>
<html>
    <head>
        <title>Test</title>
        <style>
            * { margin: 0; padding: 0; }
            .block6 { float: left; margin: 0 10px; width: 460px; }
            .block { position: relative; }
            .block:after {
                clear: both;
                content: "";
                display: block;
                margin-bottom: 40px;
            }
            header { margin-bottom: 40px; }
            .wie { text-align: center; }
            .w {
                margin: 0 auto;
                padding: 0 10px;
                text-align: left;
                width: 960px;
            }
        </style>
    </head>
    <body>
        <header>
            <div class="wie">
                <div class="w">
                    <div class="block">
                        <div class="block6">
                            aa
                        </div>
                        <div class="block6">
                            bb
                        </div>
                    </div> <!-- block -->
                </div> <!-- w -->
            </div> <!-- wie -->
        </header>
    </body>
</html>

The problem is that an “extra” space on the top is displayed.
If I set:

header {
    margin-bottom: 0;
}

The extra space disappears.
I think the error is in the block or block6 class. Any suggestion?

In Chrome displays well.


EDIT:

Here is a link: http://jsfiddle.net/wARzA/

  • 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-31T02:27:43+00:00Added an answer on May 31, 2026 at 2:27 am

    This is an odd bug, but many things like setting a top border make the bug disappear. Perhaps the cleanest way is this:

    header { min-height: 1px; }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

OK, so here's the background: We have a third-party piece of software that does
Here's the piece of my HTML code: <li> <a id=section1 href=# onclick=return false>&raquo; Section
Here is the piece of code that I have used for Java 5.0 TreeSet<Integer>
Here's a piece of code that takes most time in my program, according to
I have checked that question: Firefox and Silverlight But I'm not using any 100%
I have a JavaScript widget (a piece of embedded JS and HTML code) that's
Here is nice piece of code that works fair in all browsers: http://www.imaputz.com/cssStuff/bigFourVersion.html Since
I have a piece of html that, when JQM is done with it, looks
Here is the piece of code which I use to get the count from
Here's a piece of code I wrote for cleaning A string of unwanted chars

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.