SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot drumminlogan's Avatar
    Join Date
    Jul 2001
    Location
    Washington
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with ie problem

    I am having some problems with one thing and am wondering if someone might be able to help. There is a div tag that has "Home: Business Opportunities" with a light blue background that have on a page. it shows up fine in Firefox, but when i view it in ie six, the div tag doesn't show up unless i highlight all of the text.

    The page is at http://147.202.70.151/business-opportunity/index.php

    Any suggestions on what is causing this? Thanks.

  2. #2
    CSS & JS/DOM Adept bronze trophy
    Join Date
    Mar 2005
    Location
    USA
    Posts
    5,482
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try adding this to your stylesheet.
    Code:
    /* Hide from IE5/Mac \*/
    * html .path {
      height: 1px;
    }
    /* End hide */
    We miss you, Dan Schulz.
    Learn CSS. | X/HTML Validator | CSS validator
    Dynamic Site Solutions
    Code for Firefox, Chrome, Safari, & Opera, then add fixes for IE, not vice versa.

  3. #3
    SitePoint Zealot drumminlogan's Avatar
    Join Date
    Jul 2001
    Location
    Washington
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks. That did the trick. i have never run into that before.

  4. #4
    CSS & JS/DOM Adept bronze trophy
    Join Date
    Mar 2005
    Location
    USA
    Posts
    5,482
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You're welcome

    That's one way to trigger IE/Win's mystical hasLayout flag which is involved with many of IE/Win's rendering glitches. To learn more about it check these out: (I discourage the use of the underscore hack, which the first one recommends though.)
    http://www.satzansatz.de/cssd/onhavinglayout.html
    On Having "Layout"
    "HasLayout" Overview
    A TripSwitch? - set hasLayout to true without a dimension
    IE/Win: inline-block and hasLayout
    Clarification of inline-block and hasLayout
    We miss you, Dan Schulz.
    Learn CSS. | X/HTML Validator | CSS validator
    Dynamic Site Solutions
    Code for Firefox, Chrome, Safari, & Opera, then add fixes for IE, not vice versa.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •