asp submit button too big (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets



Message


Haskin -> asp submit button too big (8/15/2006 15:37:31)

Hi there

I need to change the asp submit button ---something that goes with the webiste --- text would be fine ...can this be done ?
<form action="thisfile.asp" method="get">
<input name="fVal" type="text" size="7" />
<input type="submit" value="Go to dealer" />
</form> [




jaybee -> RE: asp submit button too big (8/15/2006 16:48:08)

You can use an image

<button type="submit" name="submit" value="submit" />
<img src="image.jpg" />
</button>

or you can style it with css

<input type="submit" id="submit" name="submit" value="Go to dealer" />

in the css

#submit {color:#cc9900;
background-color:#ffffff;
font-size:0.5em;}

AFAIA the only way you can make it smaller is to use an image or make the text small. I don't think you can wrap the text onto two lines.

You could have a hunt round Google to see if anyone has come up with another method but don't go searching for asp. You need to look for HTML Forms or forms.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.03125