• 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

    'border:none;' ignoring in CSS

    Opera for Windows
    2
    2
    1651
    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.
    • andrew84
      andrew84 last edited by

      On some sites 'select' inside DIV looks incorrectly, like this
      2021-04-06_010847.png
      correct is
      2021-04-06_011001.png

      I'm not very familiar with all this styling stuff, I discovered that by using 'inspect element'. I simplified the code and deleted all the unnecessary.

      css

      .sort-by select[test] 
      {
          border: none;
      }
      

      Div with select

      <div class="sort-by">
       <select id="sorting" name="sortby" class="cl-secondary" test=""> 
          <option>
            option 
          </option>
        </select>
      </div>
      

      I tested it here > https://www.tutorialspoint.com/online_css_editor.php

      all other browsers show correctly and without the border
      2021-04-06_011959.png

      only Opera shows with a border

      2021-04-06_012011.png

      I'm on Win 8.1x64

      Reply Quote 0
        1 Reply Last reply
      • burnout426
        burnout426 Volunteer last edited by

        Confirmed. Sounds like a bug to me.

        Reply Quote 1
          1 Reply Last reply
        • Locked by  leocg leocg 
        • 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-