Html Help!

Magicmac

New Member
Messages
2
Reaction score
0
Points
0
on my website i have buttons i want the button to stretch so it takes up the whole line in the table i tried putting width="100%" but it never worked
 

LHVWB

New Member
Messages
1,308
Reaction score
0
Points
0
The input tag doesn't have a width value, you need to use the style value.
eg.

HTML:
<input style="width:100%;" type="submit" />

Edit: I just noticed that this creates issues in IE 7, I'll try to find a solution.
 
Last edited:

Russ

<b>Retired *****</b>
Messages
3,168
Reaction score
2
Points
38
Have your users download firefox before they enter your site? ;) IE always seems to have some sort of an issue.
 

sunils

New Member
Messages
2,266
Reaction score
0
Points
0
I think specifying the size for button will create issues in ie. So its better to use the default things. You can go for alignment. It would be better. If you could post the site address, i would be able to help you more.
 
Top