Is there any IE hack for child attributes in CSS??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ashwani Sharma
    New Member
    • Nov 2008
    • 46

    Is there any IE hack for child attributes in CSS??

    For child attributes we always use :first-child, :last-child properties in CSS but IE support only :first-child property and Firefox support all child properties. Is there any CSS hack for IE to support all child properties??

    Thanks in advance:
    Ashwani Sharma
  • hsriat
    Recognized Expert Top Contributor
    • Jan 2008
    • 1653

    #2
    Not sure about any hack, but you can differentiate the first-child by providing it an 'id', if you are not using it in multiple cases.

    Comment

    • Ashwani Sharma
      New Member
      • Nov 2008
      • 46

      #3
      Thanks a lot Hsriat for your support.

      Ashwani Sharma

      Comment

      Working...