HTML beginner |
|
Ik zou graag gelijke knoppen maken dmv CSS. Daarnaast zou ik ook willen dat de text veranderd in de roll-over. Wat doe ik hier verkeerd?
a.mainlevel:link, a.mainlevel:visited {
border:1px solid #cccccc;
background-color: #660000;
display:table-cell;
text-align: center ;
text-decoration: none;
color: #CCCCCC;
float: left;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
font-weight: bold;
padding: 4px;
width:inherit;
}
a.mainlevel:hover {
background-color:#CCCCCC ; color: #cccccc;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
color: #66000;
}
a .mainlevel :link, a .mainlevel :visited {border:1px solid #cccccc; background-color: #660000; display:table-cell; text-align: center ; text-decoration: none; color: #CCCCCC; float: left; font-family:Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; font-weight: bold; padding: 4px; width:inherit; } a.mainlevel:hover { background-color:#CCCCCC ; color: #cccccc; font-family:Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; color: #66000; }
|