Size of an input element

O

Olaf Schinkel

Hi !

I want to give some elements a special size.
I tried <input type=submit height="xx" width="yy" .... >

I found some description about it, but it does not work.
Is it possible to size such elements?

best
Olaf
 
K

Karl Core

Olaf Schinkel said:
Hi !

I want to give some elements a special size.
I tried <input type=submit height="xx" width="yy" .... >

I found some description about it, but it does not work.
Is it possible to size such elements?

<input type="submit" style="height: 15px; width: 15px;" />
 
K

Kris

I want to give some elements a special size.
I tried <input type=submit height="xx" width="yy" .... >

I found some description about it, but it does not work.
Is it possible to size such elements?

<input type="submit" style="height: 15px; width: 15px;" />[/QUOTE]

Maybe it is better to use em values there when the element contains a
text value.

<input type="submit" value="foo" style="height: 1.4em; width: 6em;" />
 
O

Olaf Schinkel

Kris said:
Maybe it is better to use em values there when the element contains a
text value.

<input type="submit" value="foo" style="height: 1.4em; width: 6em;"
/>

Hi!
I will test it an see teh results.
I have it now in an CSS file, so ich can change it very fast.

Best
Olaf
 
K

Karl Core

Kris said:
<input type="submit" style="height: 15px; width: 15px;" />

Maybe it is better to use em values there when the element contains a
text value.

<input type="submit" value="foo" style="height: 1.4em; width: 6em;" />[/QUOTE]

Good point.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top