How to download css file for Safari browser only? I usually use only this (without javascript)
<!--[if IE 8]> <link href="ie8.css" rel="stylesheet" type="text/css" /> <![endif]-->
for Internet Explorer 8. Thanks
I did not see the need for age (e.g. Safari 2). Ask a new question about the actual problem you are facing, and someone will probably tell you how to fix it with nothing but redundant CSS or less.
The real simple bit of PHP. You can also become an alternative to ASP:
<?php $browser = get_browser(); if(strtolower($browser->browser) == 'safari') { echo '<link href="safari.css" rel="stylesheet" type="text/css" />'; } ?>
Check out the CSS Browser Selection Plugin . It is very easy to implement and use, just write some special rules in your CSS, no extra stylesheets or anything else. I use it and it works great!
Hope this helps :)
Source: https://habr.com/ru/post/1313484/More articles:Implementing interactive notification in the status bar (Android) - androidCan you use VISTA size icons when you use the โDownload Iconโ in Delphi 7? - windows-7can i call dll.net 2.0 in .net 3.5? - c #Without macro USES_CONVERSION - c ++Is TD rowspan supported in most browsers (including IE6)? - htmlGet a business object from Grid View - c #TimeBox MessageBox OR Closing a MessageBox from another thread - c ++How to get file path from NTFS index number? - c ++Is sh_addr always equal to sh_offset in ELF file format? - cThe TextBox TextChanged event does not fire when Visible = False? - c #All Articles