Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Oct 2015
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Special stylesheet for Opera Mini

    Hi I need different css sheet for IE8 and Opera Mini. I did use
    Code:
    <!--[if lt IE 9]><link rel="stylesheet" type="text/css" href="IE.css" media="all" /><![endif]-->
    for IE browsers but what about Opera? Is there any HTML way to target this browser? If no, anybody know JS to use to check if user is using Opera Mini and if he is - give him special style (I want to disable jq plugin - slideshow with doesn't work in this particular browser)? Thanks.

  2. #2
    New Coder
    Join Date
    Jun 2015
    Posts
    67
    Thanks
    1
    Thanked 1 Time in 1 Post
    for different browsers the styles changes and we can manage them in css through some coding like for mozilla we can use -moz-,
    eg for different browser
    nav{
    background-image: -webkit-linear-gradient(top right, #A60000, #FFFFFF);
    background-image: -moz-linear-gradient(top right, #A60000, #FFFFFF);
    background-image: -ms-linear-gradient(top right, #A60000, #FFFFFF);
    background-image: -o-linear-gradient(top right, #A60000, #FFFFFF);
    background-image: linear-gradient(top right, #A60000, #FFFFFF);
    }

  3. #3
    New to the CF scene
    Join Date
    Oct 2015
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    yea yea yea - A collection of methods for targeting a specific browser Browser-Specific CSS Hacks - Webmonkey https://css-tricks.com/snippets/css/...pecific-hacks/ but none of it is for Opera Mini, -o- is for Opera too.

    So I need special js script I guess... anybody know something useful? (it's an old page - so no boostrap/modernizr... etc.)


 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •