Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Making font size responsive?
Message
De
31/03/2015 11:26:11
 
 
Information générale
Forum:
CSS
Catégorie:
Autre
Divers
Thread ID:
01617495
Message ID:
01617501
Vues:
28
The width is always set at 120. One thing you can do is use percentages instead of specific values for height/width.

This may help get you started. http://www.catswhocode.com/blog/making-a-website-responsive-in-3-easy-steps

>Here is the HTML for the logon page:
>
>
>    <div class="container">
>        <br />
>        <br />
>        <div class="row">
>            <div class="col-sm-6 col-sm-offset-3">
>
>                <section id="loginForm">
>
>                    <div class="form-group text-center">
>                        <span>Please enter your employee ID and password below.</span>
>                    </div>
>                    <br />
>                    <div class="col-sm-6 col-sm-offset-3">
>                        <div class="login form-group">
>                            <div class="input-group">
>                                <span class="input-group-addon"><i class="fa fa-user"></i></span>
>                                <asp:TextBox ID="txtUserName" MaxLength="10" Width="120" Runat="server" CssClass="login form-control" placeholder="Employee ID" ></asp:TextBox>
>                            </div>
>                        </div>
>
>                        <div class="login form-group">
>                            <div class="input-group">
>                                <span class="input-group-addon"><i class="fa fa-key"></i></span>
>                                <asp:TextBox ID="txtPassword" MaxLength="10" Width="120" TextMode="Password" CssClass="login form-control" Runat="server" placeholder="Password"></asp:TextBox>
>                            </div>
>                        </div>
>
>                        <div class="form-group text-center">
>                            <asp:label ID="lblUserNotFound" runat="server" BorderColor="White" ForeColor="Red"></asp:label>
>                        </div>
>
>                        <div class="form-group text-center">
>                            <asp:Button Text="Log in" type="submit" Runat="server" ID="LogIn" onclick="LogIn_Click" CssClass="btn btn-default"></asp:Button>
>                        </div>
>                    </div>
>
>                </section>
>            </div>
>        </div>
>    </div>
>
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform