Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS In normalize.css some selectors' properties are preceded by the * sign

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #147137
    terungwa
    Participant

    I noticed in the normalize.css file that some selectors’ properties are preceded by the * sign like this:

    audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }

    What doe the * sign in front of display and zoom represent? Regards.

    #147143
    SilverSerpent
    Participant

    I believe those are hacks to make those values only apply to old versions of Internet explorer

    #147148
    jurotek
    Participant

    *display:inline and zoom:1 targets ie below ie8 to display those elements as if they were inline-block

    #147459
    terungwa
    Participant

    Thanks SilverSerpent and jurotek.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.