input type=image width being ignored
Posted
by
kastulo
on Stack Overflow
See other posts from Stack Overflow
or by kastulo
Published on 2012-11-06T04:48:36Z
Indexed on
2012/11/06
5:00 UTC
Read the original article
Hit count: 139
im making an image button like this:
<input type="image" src="red.jpeg" width="150px">
but it is displaying the original image size which is much larger, if i put:
<img src="red.jpeg" width="150px">
it displays the image 150px wide as i want,
what do you guys think is the problem with this? I have tried styling it with a class and CSS but not working either, please help me with this, im going nuts!!
© Stack Overflow or respective owner