eric2001
Terugkerende gebruiker
- Lid geworden
- 23 mrt 2001
- Berichten
- 1.600
Hi,
Ik heb een menu met een aantal buttons. Als ik er met de muis overheen ga, dan verandert de button van grootte of de tekst in de button verschuift. Bij één probeersel werkt het wel goed. Ik zie geen verschil in de code, behalve de tekst.
Ik gebruik het volgende menu (in een frame, ik weet niet of dat uitmaakt):
<html>
<head>
<title>Top cellen menu</title>
<style type="text/css">
.buttonNormal
{
PADDING-Bottom: 3px;
PADDING-TOP: 2px;
COLOR: #CCCCCC;
CURSOR: hand;
text-align: center;
BACKGROUND-COLOR: #CCFFCC;
font-size:12px;
}
.buttonHighlight
{
<!-- Achtergrond bij mouse over -->
PADDING-Bottom: 3px;
PADDING-TOP: 2px;
COLOR: red;
CURSOR: hand;
text-align: center;
BACKGROUND-COLOR: #ffff66;
font-size:12px;
}
.buttonDown
{
PADDING-Bottom: 1px;
PADDING-TOP: 4px;
COLOR: #FF9999;
CURSOR: hand;
font-size:12px;
}
.buttonCurrent
{
PADDING-Bottom: 3px;
PADDING-TOP: 2px;
BACKGROUND-COLOR: #CCCCCC;
COLOR: white;
font-size:12px;
}
</style>
<STYLE type=text/css>
A {
COLOR: black; FONT: 10pt Times New Roman; TEXT-DECORATION: none
}
</STYLE>
<base target="item">
<link rel="STYLESHEET" type="text/css" href="../css/circuit1.css">
</head>
<table width="98%" cellspacing="0" cellpadding="0" border="1">
<tr>
<td class=buttonNormal width="8%" align="center"
onmouseover="if( document.all ) { this.className='buttonHighlight' }"
onmouseOut="if( document.all ) { this.className='buttonNormal' }"
onmouseDown="if( document.all ) { this.className='buttonDown' }">
<a href="tekst.html" target="item">tekst</a></td>
Wat zie ik over het hoofd?
Eric
Ik heb een menu met een aantal buttons. Als ik er met de muis overheen ga, dan verandert de button van grootte of de tekst in de button verschuift. Bij één probeersel werkt het wel goed. Ik zie geen verschil in de code, behalve de tekst.
Ik gebruik het volgende menu (in een frame, ik weet niet of dat uitmaakt):
<html>
<head>
<title>Top cellen menu</title>
<style type="text/css">
.buttonNormal
{
PADDING-Bottom: 3px;
PADDING-TOP: 2px;
COLOR: #CCCCCC;
CURSOR: hand;
text-align: center;
BACKGROUND-COLOR: #CCFFCC;
font-size:12px;
}
.buttonHighlight
{
<!-- Achtergrond bij mouse over -->
PADDING-Bottom: 3px;
PADDING-TOP: 2px;
COLOR: red;
CURSOR: hand;
text-align: center;
BACKGROUND-COLOR: #ffff66;
font-size:12px;
}
.buttonDown
{
PADDING-Bottom: 1px;
PADDING-TOP: 4px;
COLOR: #FF9999;
CURSOR: hand;
font-size:12px;
}
.buttonCurrent
{
PADDING-Bottom: 3px;
PADDING-TOP: 2px;
BACKGROUND-COLOR: #CCCCCC;
COLOR: white;
font-size:12px;
}
</style>
<STYLE type=text/css>
A {
COLOR: black; FONT: 10pt Times New Roman; TEXT-DECORATION: none
}
</STYLE>
<base target="item">
<link rel="STYLESHEET" type="text/css" href="../css/circuit1.css">
</head>
<table width="98%" cellspacing="0" cellpadding="0" border="1">
<tr>
<td class=buttonNormal width="8%" align="center"
onmouseover="if( document.all ) { this.className='buttonHighlight' }"
onmouseOut="if( document.all ) { this.className='buttonNormal' }"
onmouseDown="if( document.all ) { this.className='buttonDown' }">
<a href="tekst.html" target="item">tekst</a></td>
Wat zie ik over het hoofd?
Eric