C
craigkenisston
I'm creating a form with asp.net.
I have my inputs like this :
<label for="USER_COMPANY">Company Name:</label>
<asp:textbox id="USER_COMPANY" runat="server" cssclass="inputBox"
style="width:250px"></asp:textbox><br >
This worked great until I used the designer and it took ride of the
"style=width:250px" and changed them without my approval for
"width:250px".
The worst thing. The "width:250px" is correctly rendered to IE as
"style=width:250px", very expectable and nice. But for Firefox and
Opera it does not !. Actually, it does not return nothing about the
input textbox width to those browsers.
What's the solution for this ? Every time I touch the designer, it
drops my "correct" markup.
I have my inputs like this :
<label for="USER_COMPANY">Company Name:</label>
<asp:textbox id="USER_COMPANY" runat="server" cssclass="inputBox"
style="width:250px"></asp:textbox><br >
This worked great until I used the designer and it took ride of the
"style=width:250px" and changed them without my approval for
"width:250px".
The worst thing. The "width:250px" is correctly rendered to IE as
"style=width:250px", very expectable and nice. But for Firefox and
Opera it does not !. Actually, it does not return nothing about the
input textbox width to those browsers.
What's the solution for this ? Every time I touch the designer, it
drops my "correct" markup.