|
-
Jun 30th, 2000, 02:29 PM
#1
Thread Starter
Hyperactive Member
Hi,
I've been trying for a long time to set the width of a button but haven't been able to. At the moment, if I would like to make a button bigger than it is by default, I would put spaces at the front and end of the button’s value (name). Is there a more professional way to set the width of a button than the way that I use? Thanks
-
Jul 3rd, 2000, 06:23 PM
#2
Fanatic Member
You can use the following...
Code:
<form>
<input type="button" value="Hello World!"><br>
<input type="button" value="Hello World!" width=300>
</form>
...however it only works in Netscape 4.x (Possibly IE 5.x but I haven't tested it, I know it doesn't work in IE 4)
www.RealisticGraphics.net
Running VS.Net Enterprise & VB 6
Other Languages: JavaScript, VBScript, VBA, HTML, CSS, ASP, SQL, XML
MSN Messenger: kmsheff
-
Jul 5th, 2000, 02:40 PM
#3
Junior Member
In IE you can use the <button></button> tags. They support all the same properties as other block level elements. For example:
Code:
<button background="some.gif" width="200" height="100"></button>
-
Jul 5th, 2000, 04:20 PM
#4
Thread Starter
Hyperactive Member
Annoying!
They should keep all the tags the same for Netscape and IE! This is really annoying making sure that it will work on both browsers.
-
Jul 5th, 2000, 08:13 PM
#5
Fanatic Member
IE is Standard
I agree with Billyo
In IE you can use the <button></button> tags. They support all the same properties as other block level elements. For example:
Code:
<button background="some.gif" width="200" Height="100"></button>
If same as the rest then it's the standard.
DocZaf
{;->
so netscape is erm.......not the standard?
--------------------------------------------------------------------------------
-
Jul 5th, 2000, 08:20 PM
#6
Junior Member
I wouldn't go so far as to say that IE is the standard... but it definitely supports more features and in a more consistent manner than netscape.
[Edited by billyo on 07-06-2000 at 01:12 PM]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|