1. question: I would like to do that when user clicks on link it will be constant with particular colour. How to do it because there is removed A:active as I do not want to show all the time coloured if user clicks on link. It should be just in case user is on particular page.
2. question:
I would like to give this menu separate css script name like topmenu. How to do it that all css will be not for all page?
I'm new to this. Need help
PHP Code:<head>
<title></title>
<style type="text/css">
A:link
{
font-family: "Helvetica Neue Light", Helvetica, Arial, sans-serif;
text-decoration:none;
background-color:#000000;
color:#ffffff;
text-align:center;
font-size:16px;
font-weight:bold;
font-style:normal;
text-decoration:none;
}
A:visited
{
font-family: "Helvetica Neue Light", Helvetica, Arial, sans-serif;
text-decoration:none;
background-color:#000000;
color:#ff6600;
text-align:center;
font-size:16px;
font-weight:bold;
font-style:normal;
text-decoration:none;
}
/*
A:active
{
font-family: "Helvetica Neue Light", Helvetica, Arial, sans-serif;
text-decoration:none;
background-color:#000000;
color:#ffffff;
text-align:center;
font-size:16px;
font-weight:bold;
font-style:normal;
text-decoration:none;
}
*/
A:hover
{
font-family: "Helvetica Neue Light", Helvetica, Arial, sans-serif;
text-decoration:none;
background-color:#000000;
color:#ff6600;
text-align:center;
font-size:16px;
font-weight:bold;
font-style:normal;
text-decoration:none;
}
-->
</style>
</style>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="480">
<tr>
<td align="middle" width="120">
<A href="link.htm">Link</A></td>
<td align="middle" width="120">
<A href="link1.htm">Link1</A></td>
<td align="middle" width="120">
<A href="link2.htm">Link2</A></td>
<td align="middle" width="120">
<A href="link3.htm">Link3</A></td>
</tr>
</table>
</body>
</html>



Reply With Quote



Bookmarks