Jump to content

IE11 issue with dropdown menu


Recommended Posts


Minor dropdown menu issue, see menu below created using w3.css 4.09, it works in Chrome, Firefox, Edge etc but in IE11 and earlier it doesn't display quite right; the heading has a white background and in other browsers has the correct blue.  I could set the button class to blue which would fix it but then when I move off the heading to the sub menu the grey button background reverts to the blue which is not what i want.

<div class="w3-top">
  <div class="w3-bar w3-blue">
  <!--<a href="#" class="w3-bar-item w3-button">Home</a>-->
    <div class="w3-dropdown-hover w3-blue">
      <button class="w3-button">Dropdown</button>
      <div class="w3-dropdown-content w3-bar-block w3-white w3-card-4">
        <a href="#" class="w3-bar-item w3-button">Link 1</a>
        <a href="#" class="w3-bar-item w3-button">Link 2</a>
        <a href="#" class="w3-bar-item w3-button">Link 3</a>

Any help would be gratefully received.

Many thanks


Edited by tvj
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...