Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7944551
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T00:35:10+00:00 2026-06-04T00:35:10+00:00

Is there any way that I can override something in css and use different

  • 0

Is there any way that I can override something in css and use different size if user/visitor uses opera?

Example, in chrome, ff and safari this works great:

.section#search h3 a {
    background: url("../img/search.png") no-repeat 0 50%;
    padding: 0 0 0 25px;
    position: relative;
}

But in Opera padding is not really good… I need to add top: 16px; into it or to change padding to padding: 0 0 36px 25px;

Is there any “hack” like for IE or maybe javascript usage? No ideas…

All I need is to add that top or new padding just for opera. Thanks 😉

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T00:35:12+00:00Added an answer on June 4, 2026 at 12:35 am

    With the conditional-css tool, you can target opera, but engine is important. conditional-css.com explains:

    Conditional-CSS isn’t really all that interested in which browser the
    user is using, but rather what rendering engine the user’s browser
    utilises. This is why Conditional-CSS uses ‘Gecko’ rather than the
    well known Firefox as one of it’s browser conditions. Likewise for
    Safari ‘Webkit’ is used. This allows other browsers using the same
    rendering engines to receive the same targeted CSS. An exception to
    this rule is made for IE (rather than using ‘Trident’) since this is
    what the IE conditional comments use and Trident isn’t particuarly
    well known. Similarly for Opera, since only the Opera browser uses
    it’s Presto rendering engine, ‘Opera’ is used.

    http://www.conditional-css.com/advanced

    they write that a conditional tag is formed like:

    [if {!} browser]
    [if {!} browser version]
    [if {!} condition browser version]
    

    and that browser names are as follows:

    IE - Internet Explorer
    Gecko - Gecko based browsers (Firefox, Camino etc)
    Webkit - Webkit based browsers (Safari, Shiira etc)
    'SafMob' - Mobile Safari (iPhone / iPod Touch)
    Opera - Opera's browser
    IEMac - Internet Explorer for the Mac
    Konq - Konqueror
    IEmob - IE mobile
    PSP - Playstation Portable
    NetF - Net Front
    

    So it should logically follow, according to them, that you can target via:
    [if Opera]

    like this in a CSS block:

    [if Opera] .box {  
        width: 500px;  
        padding: 100px 0;  
    } 
    

    or like this for a CSS include:

    <!--[if Opera]>
    
    <![endif]-->
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any way that I can use C# to load and then render
Is there any way that I can call a JavaScript function via css? For
Is there any way to override, or re-add something that was removed via it's
Is there any way that I can wrap a checkboxlist in asp.net so that
Is there any way that I can make it so when someone clicks save
Is there any way that I can programmatically create (and I guess access) hidden
Is there any way that I can change how a Literal of a code
Is there any way that I can find the container pointed to by an
Is there any way that I can create a new delegate type based on
Is there any way that I can pass arguments in selector? example: I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.