Valid syntax or coding error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • keydrive
    New Member
    • Oct 2007
    • 57

    Valid syntax or coding error

    * html body {
    text-align: center;
    }

    Does the star before the html do anything here or just something that didn't get cleaned up from commenting it out at one point or another.

    Thanks
  • David Laakso
    Recognized Expert Contributor
    • Aug 2008
    • 397

    #2
    It is appropriately called the "star HTML" hack. It is seen only by IE browser 6.0 and lower.
    Looks as though written incorrectly. Usually something like this (rather than on the body declaration):
    Code:
    * html #sidebar p ( text-align:center;}
    Last edited by David Laakso; Mar 10 '09, 10:10 PM. Reason: addi

    Comment

    • keydrive
      New Member
      • Oct 2007
      • 57

      #3
      Thanks David.

      Good information

      Comment

      Working...