Yeah that will
work and thanks, but what if it's
link?
Example:
<html><head>
<*style type="text/css">
body{background-color: skyblue;color: red;text-align: center;font-family: arial;}
div{text-align: center;}
h1{background-color: gold;color: blue;font-size: 40px;}
a:hover,td.menu:hover{background-color: purple;color: gold;font-family: "Algerian",Castellar,Cooper Black,Arial Black,Impact,Cursive,Times New Roman;}
a,td.menu{background-color: red;color: blue;font-family: "Forte",Brush Script MT,Curlz MT,Chiller,Monospace,Baskerville Old Face;}
table{width: 100%;background-color: gold;color: lime;}
</style></head>
<body>
<h1>Welcome</h1>
<hr />
<table border="5" cellpadding="4" cellspacing="5">
<tr>
<td class="menu" title="Main">
<a href="Home.html">Home</a>
<td class="menu" title="Talk/Chat">
<a href="Forum.html">Forum</a>
<td class="menu" title="Ask/Search">
<a href="Help.html">Help</a>
<td class="menu" title="Leave">
<a href="Quit.html">Quit</a>
</tr>
Some Text Here!
</body>
</html>
- <html><head>
- <*style type="text/css">
- body{background-color: skyblue;color: red;text-align: center;font-family: arial;}
- div{text-align: center;}
- h1{background-color: gold;color: blue;font-size: 40px;}
- a:hover,td.menu:hover{background-color: purple;color: gold;font-family: "Algerian",Castellar,Cooper Black,Arial Black,Impact,Cursive,Times New Roman;}
- a,td.menu{background-color: red;color: blue;font-family: "Forte",Brush Script MT,Curlz MT,Chiller,Monospace,Baskerville Old Face;}
- table{width: 100%;background-color: gold;color: lime;}
- </style></head>
- <body>
- <h1>Welcome</h1>
- <hr />
- <table border="5" cellpadding="4" cellspacing="5">
- <tr>
- <td class="menu" title="Main">
- <a href="Home.html">Home</a>
- <td class="menu" title="Talk/Chat">
- <a href="Forum.html">Forum</a>
- <td class="menu" title="Ask/Search">
- <a href="Help.html">Help</a>
- <td class="menu" title="Leave">
- <a href="Quit.html">Quit</a>
- </tr>
- Some Text Here!
-
- </body>
- </html>
*As you can see, when you point the cell, it will be highlighted and the text not; when you point the text inside the cell, they are both highlighted;
*I want them to highlighted together whatever you point from your mouse.