WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] transparent backgrounds in Firefox (5 posts)

  1. barishiman
    Member
    Posted 8 years ago #

    Ok, I posted something earlier about a background problem I was having with my website. I know now that it is some sort of transparency problem. I have a wrapper that has three layers floating above it. These three layers have transparent as the background color, even though that transparent is the default setting in CSS.

    In IE, the page is decoded properly but in Firefox doesn't show the background. I have gone through my CSS and layers and everything has been re-validated. Funny thing is Firefox was decoding the page fine until last week.

    Any suggestions?

    http://www.traderelic.com

  2. barishiman
    Member
    Posted 8 years ago #

    bump

  3. Sam_a
    Member
    Posted 8 years ago #

    Firefox isn't showing #wrapper because the height is zero.

    HTML > BODY > DIV#blog > DIV#wrapper{
    height: 0px
    background-image: url(...wrapper_bg.jpg)
    background-repeat: repeat-y
    }

  4. Sam_a
    Member
    Posted 8 years ago #

    Firefox is calculating a zero height for #wrapper because its descendants or floated, probably -- it's not actually a background issue.

    You can use

    #wrapper{ overflow: auto;}

  5. barishiman
    Member
    Posted 8 years ago #

    overflow: auto works great, thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags