Forum Moderators: open
Also is it me or have the made the edges of the buttons square, my normal buttons are all rounded by default with Windows XP.
I have been going through their css files and can't seem to get it to work in Dreamweaver MX :(
Craig
I've found that you could do it by assigning a stylesheet class to your button.
<head>
<style>
.button_style{ background-color:#FF0000;
color:#333333;
}
</style>
</head>
<body>
<input name="buttom" type="button" class="button_style" id="buttom" value="My Button">
</body>
I haven't fully explored all the options available but this should work.
Hope it helps.
The problem with using graphics for buttons is that you need to use Javascript to make them act like submit buttons, so without Javascript enabled the form stops working. However, extrapolating divaone's idea:
<form name="" method="post" action="submit">
<div style="background-color: #000000; height: 50px; width: 50px;">
<input name="" value="" type="submit" style="background-color: transparent; border: 0; width: 50px; height: 50px;"></div>
</form>
A transparent HTML form button which shows through everything in the background. I like it. I like it a lot. :)