Forum Moderators: not2easy
or could I stlye a radio button in order to set its height?
Any other suggestion?
thanks
You can use javascript to submit a form from a link, or you can style a submit button to make it look like a link:
<input type="submit" id="submitB" value="go">
#submitB{
border:none;
padding:0;
margin:0;
font-size:xx-small;
text-decoration:underline;
color:blue;
background-color:transparent;
}
ps:radio buttons are notoriously difficult to style.
Andrew
for the cursor add
cursor: pointer; to the CSS for the button and
for the tooltip add
title="Your Tooltip Text" to the HTML for the button [added] - Andrew's too quick ;) .. title also works in IE/Opera
[edited by: SuzyUK at 4:13 pm (utc) on Mar. 4, 2007]
even allowing for the stray PHP tags in your example, which are likely not in the generated output you shouldn't have a span nested inside an input.
your generated output should be something like this..
<input type='hidden' name='state' value='alabama'>
<input type="submit" name="submit" value="Alabama" title="your tooltip text" class="submitB">