Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cross browser with label
Message
De
16/01/2015 14:40:29
 
 
À
Tous
Information générale
Forum:
HTML5
Catégorie:
Problèmes de navigateur
Titre:
Cross browser with label
Divers
Thread ID:
01613762
Message ID:
01613762
Vues:
31
This code:
<label for="Username"></label>
<input type="text" placeholder="Username" name="Username" id="Username">
...allows to put a label in a textbox until we start typing. The label would usually represent what has to be entered.

In Firefox, we can put the focus on the field and we still see the label. Then, when we start typing, the label goes away and we see our typed value as we type it.

In IE, as soon as we put the focus on the field, the label disappears.

Is there anything I can do to have IE reacts exactly as Firefox?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Répondre
Fil
Voir

Click here to load this message in the networking platform