Quote:
Originally Posted by sneakyheathen Nope, nothing. Maybe my button is doomed for failure. |
Is there any reason it has to be a button? Could you not just make an a link and style it to look like a button? That way it'll work even when
JS is turned off.
Example:
HTML Code:
<html>
<head>
<style type="text/css">
a.button{
border: 2px outset #000;
background-color:#666;
display:block;
float:left;
height:20px;
}
a.button:hover, a.button:focus{
border-style: inset;
}
</style>
</head>
<body>
<a class="button" href="yourpage.html">Rawr!</a>
</body>
</html> (May need tweaking, I just made this up now in this window)
Try using the noscript firefox plugin for a week. It's a real eye opener into how badly coded a lot of websites are.