css class problem
-
i want the text alignment center in js file (filename = wr.js) Input { .alignCenter{text-align: center;} } in the source file
<asp:TextBox ID="TextBox1" runat="server" CssClass="wr.js">0</asp:TextBox>
i think i am doing wrong somewhere? -
i want the text alignment center in js file (filename = wr.js) Input { .alignCenter{text-align: center;} } in the source file
<asp:TextBox ID="TextBox1" runat="server" CssClass="wr.js">0</asp:TextBox>
i think i am doing wrong somewhere? -
do you mean you want 1. the textbox aligned center? 2. the text aligned center in the textbox usually
that work usually
what amendments should i do , in css file ?
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
-
i want the text alignment center in js file (filename = wr.js) Input { .alignCenter{text-align: center;} } in the source file
<asp:TextBox ID="TextBox1" runat="server" CssClass="wr.js">0</asp:TextBox>
i think i am doing wrong somewhere?Sonia Gupta wrote:
i think i am doing wrong somewhere?
You are doing totally wrong.
Sonia Gupta wrote:
in js file (filename = wr.js) Input { .alignCenter{text-align: center;} }
JS file is for keeping javascript, not for CSS. Put this in a CSS. To make input as a class prefix
dot(.)
before the name. Go through the CSS Beginner[^] tutorial.Sonia Gupta wrote:
CssClass="wr.js"
No need to specify extension when referring a class name.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions