-
1
- #1
theEclipse
Programmer
I was just wondering where the <button> tag went? people seem to have forgotten it completly!
I see people creating complex (I use this term relativly, of course! ;-))js scripts to make a button that looks exactly like the a submit button, just to have an image in it!
check out this:
<button>
<img src="" name="some_cool_image" alt="that_is_on_the_button">
some text also on the button
</button>
the <button> tag is in the HTML 4.0 specs, and I believe it is supported by ALL ns and ie browsers, as well as most of the smaller browsers (opera, etc...)
Robert Carpenter
questions? comments? thanks? email me!
eclipse_web@hotmail.com
Icq: 124408594
AIM & MSN: robacarp
I see people creating complex (I use this term relativly, of course! ;-))js scripts to make a button that looks exactly like the a submit button, just to have an image in it!
check out this:
<button>
<img src="" name="some_cool_image" alt="that_is_on_the_button">
some text also on the button
</button>
the <button> tag is in the HTML 4.0 specs, and I believe it is supported by ALL ns and ie browsers, as well as most of the smaller browsers (opera, etc...)
Robert Carpenter
questions? comments? thanks? email me!
eclipse_web@hotmail.com
Icq: 124408594
AIM & MSN: robacarp