• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Opera CSS font-size

    Opera Mini
    2
    2
    889
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • sisiarabic
      sisiarabic last edited by

      Hello,

      i have question about CSS Styling for opera.

      I use:

      body {
      font-size: 100%;
      }

      h1 to h3 become from 130 to 110% but they not really has diffrence from normal p segments.

      For bigger padding in some links i use

      @media screen and (max-width: 600px) {
      aside.blog ul li a {
      line-height: 3em;
      }
      }

      but opera ignore it.

      Has someone advice to fix the stuff?

      Thank you & Nice day
      Silvio

      Reply Quote 0
        1 Reply Last reply
      • mbaluta
        mbaluta last edited by

        Opera Mini ignores line-height property. You can achieve similar effect with display: inline-block; padding: 20px;. I know it's not the best way to do it but it should do the work. Eventually if it's some standalone link (like in menu), then it's best to set display: block; padding: 20px; - this way it will take all available width, what makes it easier to click:) I hope this helps.

        Reply Quote 0
          1 Reply Last reply
        • First post
          Last post

        Computer browsers

        • Opera for Windows
        • Opera for Mac
        • Opera for Linux
        • Opera beta version
        • Opera USB

        Mobile browsers

        • Opera for Android
        • Opera Mini
        • Opera Touch
        • Opera for basic phones

        • Add-ons
        • Opera account
        • Wallpapers
        • Opera Ads

        • Help & support
        • Opera blogs
        • Opera forums
        • Dev.Opera

        • Security
        • Privacy
        • Cookies Policy
        • EULA
        • Terms of Service

        • About Opera
        • Press info
        • Jobs
        • Investors
        • Become a partner
        • Contact us

        Follow Opera

        • Opera - Facebook
        • Opera - Twitter
        • Opera - YouTube
        • Opera - LinkedIn
        • Opera - Instagram

        © Opera Software 1995-2025