Can we make two designs for an simple web page One which support outdated browser Second which support latest browser. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

Can we make two designs for an simple web page One which support outdated browser Second which support latest browser.

suppose we have created an webpage and wants to add two different designs. Design one for those visitors who have outdated browser eg :-internet explorer. Design second for those who have latest browser eg:- Microsoft edge. The designs are loaded automatically according to visitor's browser. How can we do so... Can we do so via help of CSS or other language is needed?

29th Mar 2018, 2:27 AM
himanshu surolia
himanshu surolia - avatar
2 Answers
+ 7
A common trick is to load style sheets depending on the browser and its version. https://www.quirksmode.org/css/condcom.html
29th Mar 2018, 2:56 AM
Mickel
Mickel - avatar
+ 8
Thanks
22nd Jun 2018, 3:53 PM
himanshu surolia
himanshu surolia - avatar