Click to See Complete Forum and Search --> : making a "button" but with style properties
pelegk1
10-28-2003, 05:07 AM
i want in a table
to make some of the the text in the td look like a button
so when it not pressed it will seem like a raised button
and when pressed like a sunken button
thanks in advance
PEleg
DaveSW
10-28-2003, 05:27 AM
How about this
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Untitled</title>
<style type="text/css">
<!--
a.b4 {
display: block;
width:120px;
background-color: #999999;
border-style:outset;
text-align: center;
color: #ffffff
}
a.b4:active {
border-style:inset;
}
-->
</style>
</head>
<body>
<div>
<a href="#" class="b4">Button</a>
</div>
</body>
</html>
pelegk1
10-29-2003, 02:05 AM
i want it when not pressd to be like "above" the page
- elevated!
how to do it?