• +91 9723535972
  • info@interviewmaterial.com

CSS Interview Questions and Answers

Related Subjects

Question - How do you target a certain browser?

Answer - IE can be targetted by preceding your properties with '* html'. For example... #nav { position:fixed; } * html #nav { /* this will target IE */ position:absolute; } Another way to target IE is with conditional comments. Put this (below) in the head - just before the closing tag - and put anything you want to be directed only at IE in another stylesheet. If you need to target IE5x... #wrap { width:760px; /* for IE5x */ w\idth:780px; /* for all other major browsers */ }

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners