input button style problem

  • Thread starter Thread starter Arne Garvander
  • Start date Start date
A

Arne Garvander

<form>
How can I remove the extra space on the left and right side inside my button
<input type="submit" name="mybtn" value="Entrez les informations sur votre
courtier"
style="width:300;background-color:Blue;color:white;FONT-FAMILY: Verdana,
Arial, sans-serif;font-size:.9em;font-weight:bolder;
margin-left:5px;margin-right:5px" />
</form>
 
<form>
How can I remove the extra space on the left and right side inside my button
<input type="submit" name="mybtn" value="Entrez les informations survotre
courtier"
    style="width:300;background-color:Blue;color:white;FONT-FAMILY: Verdana,
Arial, sans-serif;font-size:.9em;font-weight:bolder;
margin-left:5px;margin-right:5px" />
</form>

Try to change width. For example, width:250px;
 
Alexey,
That works some of the time. I am getting inconsistent results, when moving
button to different pages.
 
Arne,

width=300 actually eats courtier as "court"

I had to put width=326

So adjust your Width as Alexey said.

LVP



<form>
How can I remove the extra space on the left and right side inside my
button
<input type="submit" name="mybtn" value="Entrez les informations sur votre
courtier"
style="width:300;background-color:Blue;color:white;FONT-FAMILY: Verdana,
Arial, sans-serif;font-size:.9em;font-weight:bolder;
margin-left:5px;margin-right:5px" />
</form>

Try to change width. For example, width:250px;
 
I wonder why you are getting inconsistent results in different pages.
are all pages on the same computer

Do you have different CSS in different pages? although the Inline style
should dominate but I have seen that
some css or external styles for the containers of an element affects the
final style.

LVP
 
Back
Top