size of buttons

liunx

Guest
I have decided to put submit buttons into my site rather than just text, I would like the buttons to be the same size. I have added my code below, please ignore the mess as this will be sorted out, its just the size issue I need to sort out<br />
<br />
Thanks<br />
<br />
Terry<br />
<br />
<!DOCTYPE HTML PUBLIC "-//WC3//DTD HTML 4.0//EN"><br />
<br />
<HTML><br />
<br />
<HEAD><br />
<br />
<META NAME="generator" CONTENT="notepad"><br />
<META NAME="creation-date" CONTENT="Thur 7th March, 2001 15:02:03 GMT"><br />
<META NAME="author" CONTENT="Terry Poppy / CWU Swindon production"><br />
<META NAME="description" CONTENT="cwu trades union page"><br />
<META NAME="keywords" CONTENT="union, trades, BT, cwu, civil liberties, human rights, "><br />
<br />
<TITLE>cwu swindon engineering frame1</TITLE><br />
<style><br />
<!--<br />
A{text-decoration:none}<br />
--><br />
</STYLE><br />
</head><br />
<BODY BGCOLOR="white" bottommargin="0" topmargin="0" leftmargin="0"<br />
rightmargin="0" marginheight="0" marginwidth="0"><br />
<br />
<table border=0 cellspacing=2 cellpadding=0> <br />
<tr><br />
<br />
<td alt="branch site"><form method="link" action="http://www.btinternet.com/~T.Poppy/home.html" TARGET="B"><br />
<input type="submit" style="background:#ffa500" value="Branch pages"></form></td></tr><br />
<tr><br />
<br />
<br />
<td><form method="link" action="http://www.btinternet.com/~T.Poppy/newsflash.html" TARGET="B"><br />
<input type="submit" style="background:#ffa500" value="Newsflash"></form></td></TR><br />
<tr><br />
<br />
<td><form method="link" action="http://www.btinternet.com/~T.Poppy/meetings.html" TARGET="B"><br />
<input type="submit" style="background:#ffa500" value="Meetings"></form></td></tr><br />
<tr><br />
<br />
<td><form method="link" action="http://www.btinternet.com/~T.Poppy/safetyflash.html" TARGET="B"><br />
<input type="submit" style="background:#ffa500" value="Safetyflash"></form></td></TR><br />
<TR><br />
<br />
<br />
<td><form method="link" action="mailto:[email protected]" TARGET="B"><br />
<input type="submit" style="background:#ffa500" value="E-Mail us"></form></td></tr><br />
<tr><br />
<br />
<br />
<br />
<table width="150" height=40 cellpadding=10 cellspacing=0 border=0><br />
<br />
<TR><br />
<br />
<TD><FONT SIZE="3"><A HREF=http://www.htmlforums.com/archive/index.php/"http://www.thisiswiltshire.com" TARGET="B"><br />
<FONT COLOR="red"><B>Swindon Locally</B></a></font></td></TR><br />
<TR><br />
<TD><FONT SIZE="3"><A HREF=http://www.htmlforums.com/archive/index.php/"http://www.cwu.org" TARGET="B"><br />
<FONT COLOR="red"><B>CWU Site</B></a></font></td></TR><br />
<TR><br />
<TD><FONT SIZE="3"><A HREF=http://www.htmlforums.com/archive/index.php/"http://www.amnesty.org" TARGET="B"><br />
<FONT COLOR="red"><B>Amnesty International</B></a></font></td></TR><br />
<TR><br />
<TD><FONT SIZE="3"><A HREF=http://www.htmlforums.com/archive/index.php/"http://www.warchild.org" TARGET="B"><br />
<FONT COLOR="red"><B>Warchild</B></a></font></td></TR><br />
<TR><br />
<td><font size="3"><A HREF=http://www.htmlforums.com/archive/index.php/"http://news.bbc.co.uk" TARGET="B"><FONT COLOR="red"><B>World News</a></FONT></TD></tr><br />
<tr><br />
<TD><font size="3"><A HREF=http://www.htmlforums.com/archive/index.php/"http://news.bbc.co.uk/sport/default.stm" TARGET="B"><FONT COLOR="red"><B>World Sport</a></FONT></TD><br />
<TR><br />
<TD><br />
<!-- src=http://www.htmlforums.com/archive/index.php/"http://banners.wunderground.com/banner/gizmotemp/global/stations/03740.gif" height=41 width=1--></a></TD><br />
</tr><br />
</TABLE><br />
<br />
<br />
<br />
</BODY><br />
</HTML><!--content-->You could always use an image for the submit button. This sometimes looks better and is easier to customize, on the other hand sometimes it doesn't. Just use this:<br />
<input type="image" value="URL of image"><br />
Good Luck,<br />
Paul<!--content-->Info site:<br />
<!-- m --><a class="postlink" href="http://www.wsabstract.com/howto/button.shtml">http://www.wsabstract.com/howto/button.shtml</a><!-- m --><br />
<br />
Place spaces in the value name:<br />
value=" Safetyflash "></form><!--content--><input type=submit style="font family: veranda; font size: 8pt, color: blue" value=submit><!--content-->I believe that very few visitors will actually have a font named Veranda :)<br />
<br />
Not sure if you mean setting the font-size or the button size.<br />
<br />
Anyway, just add<br />
STYLE="width: ??pt;"<br />
to the INPUT tag, and you will be able to set an absolute width to the button (or height if you will).<br />
<br />
-aslefo<!--content-->i have nothing further to add!<!--content-->...Well thank's for letting us know...<!--content-->No problem, I am very considerate!<!--content-->If anyone else has nothing to add, please let us know, and the nothing will be added.<br />
<br />
0+0=0<br />
<br />
0 is still something, you know...or...nevermind...<!--content-->hey, maybe we can get this post moved to the spam!!!!!!!!<!--content-->Aslefo, I used your code and it did what I needed, could I ask one thing, the buttons have now turned that horrid grey color, is it possible to retain the color I had or to change the text color within the button. I am looking at making my own buttons at present but I am unable to find a good javascript which will show the button being pressed in.<br />
<br />
May I thank you all for your help<!--content-->veranda is included in win95/98/nt/and 2000. I am sure a lot of people DO have it.<!--content-->My daughter can also see verdana with her mac. It's very common. It's still a good idea to include a back-up or two if you can.<!--content-->Veranda? No Veranda on my W98 machine, there is a Verdana font however... ;)<br />
<br />
Kevin<!--content-->I'm sure there's a font named Veranda too...<br />
<br />
Terry p:<br />
I guess you added my style tag in addition to the one that was already there. You should put it all in one tag, so that one will not override the other, like:<br />
<input type="submit" style="background:#ffa500; width:??pt" value="Branch pages"><!--content-->Veranda? I once knew a girl called Miranda......<!--content-->
 
Back
Top