Forums

[resolved] white page shown in the body with firefox (4 posts)

  1. taraximus
    Member
    Posted 4 years ago #

    when I open my site with firefox main body appears all white.
    but it works fine with explorer.
    http://www.bibakim.com

  2. alexleonard
    Member
    Posted 4 years ago #

    You have an issue with your style sheet.

    To make this work in Firefox change the following line near the end of your style sheet from:

    .Footer { width: 820px; background: #fff; position: relative; clear: none; padding: 10px 15px; border-top: 4px solid #80af00;}

    to

    .Footer { width: 820px; background: #fff; clear: none; padding: 10px 15px; border-top: 4px solid #80af00;}

    I can't be sure what will happen in IE, but I loathe that browser so much and if that above change causes issues you can send the extra line to IE through conditional comments.

  3. taraximus
    Member
    Posted 4 years ago #

    well now it perfectly works with both, thank you so much

  4. alexleonard
    Member
    Posted 4 years ago #

    Deadly. Glad that worked it out.

    In future, if you're ever having strange issues like that, I suggest looking at your style sheet and what I usually do is comment out one half of the style sheet. If your issue disappears, then you know that the error lies in the commented out part of the style sheet.

    Keep on doing this until you narrow down what's causing the problem. That's what I did to find the error.

    By the way - a brilliant tool for this is the web developer tool bar extension for firefox. This allows you to edit the style sheet of a page without leaving the browser - and it's non-destructive so there's no danger of accidentally messing things up. It's a great way of testing CSS code out and resolving issues.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.