Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sizing submit buttons

Status
Not open for further replies.

Vakla

Programmer
Joined
Mar 29, 2001
Messages
2
Location
US
IS there a way to control the size of submit buttons across browser resolutions?

I need to maintain the size of a search form and a search box.

I can make them the same size in 800x600 resolution, but then they change wildly in other resolutions.

Any suggestions.

(I am submitting search text to a search perl script, and I haven't been able to get a graphic to submit the form)
 
You can try CSS, but it will work not at all browsers.
Code:
<style>
input.mybutton { width:100;height:200 }
</style>
[...]
<form ...>
[...]
<input class=mybutton type=submit>
[...]
</form>
In particular, it will work on Netcape6/Mozilla/Opera4/MSIE5, but will not work on Netscape4/MSIE4/Opera3. [sig]<p>Michael Dubner<br>Brainbench MVP/HTML+JavaScript<br>
[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top