Utente:IPork/divmenuIE.css

Da Wikisource.

Nota: dopo aver pubblicato, potrebbe essere necessario pulire la cache del proprio browser per vedere i cambiamenti.

  • Firefox / Safari: tieni premuto il tasto delle maiuscole Shift e fai clic su Ricarica, oppure premi Ctrl-F5 o Ctrl-R (⌘-R su Mac)
  • Google Chrome: premi Ctrl-Shift-R (⌘-Shift-R su un Mac)
  • Internet Explorer / Edge: tieni premuto il tasto Ctrl e fai clic su Aggiorna, oppure premi Ctrl-F5
  • Opera: premi Ctrl-F5.
/* RULES FOR THE "MENUDIV" OBJECT */
.menudiv {
 position: absolute;
 visibility: hidden;
 z-index: 1000;
 border: 1px solid #aaaaaa;
 /* Borders:     Top    Right  Bottom    Left   */
 border-color: #aaaaaa #aaaaaa #aaaaaa #aaaaaa;
 background-color: #ffffff;
 padding: 2px;
 font: 12px/20px Arial, Helvetica, sans-serif;
}


/* Formatting to apply to the elements inside the "menudiv" class elements. */
.menudiv .header {
 width: 100%;
 font-weight: bold;
 text-align: center;
 border-bottom: 1px dashed #333333;
}

.menudiv a {
 display: block;
 /* I've specified borders for each side individually so NS4 ignores this setting */
 border-top: 0px;
 border-right: 0px;
 border-bottom: 0px;
 border-left: 0px;
 color: #0733c8;
 text-indent: 5px;
 text-decoration: none;
}

.menudiv a:hover {
 background-color: #e6e6e6;
 color: #0733c8;
 text-decoration: none;
}

.menudiv a:visited {
 color: #0733c8;
 text-decoration: none;
}

.menudiv a:active {
 background-color: #4c4c4c;
 color: #FFFFFF;
 text-decoration: none;
}

.menudiv .highlighted {
 background-color: #e6e6e6;
 color: #0733c8;
}