...

View Full Version : Button Size??



alvis
10-20-2005, 10:37 PM
OK heres an easy one for you guys. How do i make a button a really large size
I tried.

<input type="button" size="100">

but it didnt work. So thanks for you help!
Adam

Lerura
10-20-2005, 10:46 PM
you can set width="" and height="", but that only works for netscape-based browsers

But you can imitate a button by an image:

create an image that looks like the button you want and then add onClick="" to the image

Brandoe85
10-20-2005, 10:49 PM
You can style it with css:


<html>
<head>
<style type="text/css">
#b
{
height: 200px;
width: 200px;
background-color: white;
color: red;
font-size: 22px;
}
</style>
</head>
<body>
<form>
<input type="button" value="button" id="b">
</form>
</body>
</html>


Good luck

brandonH
10-21-2005, 01:38 AM
you can also try using this:
<button><table><tr><td height=400 width=400>your content or image</td></tr></table></button>");
<button><table width=400 height=400></table></button>

this is not a form object ( <input> )

it is just a button, and it will get as big as it needs to be in-order to dispaly what is between the starting tag and end tag.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum