Utente:IPork/divmenu.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 #FFFFCC;
 /* Borders:     Top    Right  Bottom    Left   */
 border-color: #FFFFCC #CCCCFF #CCCCFF #FFFFCC;
 font: 12px/20px Arial, Helvetica, sans-serif;
	background: #ffffff;
	border-color: #aaaaaa;
	padding: 1px;
}

/* 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;
 margin-bottom: 5px;
	border-color: black;
}

.menudiv a {
 display: block;
 /* I've specified borders for each side individually so NS4 ignores this setting */
 text-indent: 5px;
 text-decoration: none;
}

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

.menudiv a:visited {
 color: #0733c8;
}
.menudiv a:active {
 background-color: #4c4c4c;
 color: #ffffff;
}

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