WordPress.org

Ready to get started?Download WordPress

Forums

Primary Div not showing up in Chrome (6 posts)

  1. iamharlan
    Member
    Posted 3 years ago #

    I just noticed that my website isn't displaying properly in Chrome. The site looks fine in Firefox and IE, but doesn't display the "primary" div in Chrome. It's strange, because using Firebug in Chrome, it shows all of the html for the primary div, it just seems to be invisible.

    Any ideas on what could be causing this? It's blowing my mind.

  2. iamharlan
    Member
    Posted 3 years ago #

    I guess my site would help...

    http://www.theparadigmexchange.com/

  3. iamharlan
    Member
    Posted 3 years ago #

    Any thoughts?

  4. covenantchild
    Member
    Posted 2 years ago #

    Hey...not sure if you made any headway on this issue. I'm dealing with the same thing, where Chrome & mobile browsers don't show the primary div. I noticed that removing the overflow: auto style attribute makes the div display in Chrome. I'm not sure why that's the case...

  5. iamharlan
    Member
    Posted 2 years ago #

    Yeah, I think I just ended up deleting the div and recreating it in a different way. I haven't had the issue with any site I've developed since. Go figure.

    That's good to know for future reference though, thanks.

  6. covenantchild
    Member
    Posted 2 years ago #

    I finally figured it out a fix (after like 5hrs). For some reason, Chrome kept setting the width of the div to 0. Defining the width in the CSS with !important fixed it.

    I also noticed the same error on my Blackberry browser, but it wasn't as straightforward. The only way I could fix that was to define another CSS and remove the div's height and overflow attributes. Then use a Mobile Browser detection script to set the appropriate stylesheet.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.