Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cross browser with label
Message
From
16/01/2015 14:40:29
 
 
To
All
General information
Forum:
HTML5
Category:
Browser issues
Title:
Cross browser with label
Miscellaneous
Thread ID:
01613762
Message ID:
01613762
Views:
32
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
Reply
Map
View

Click here to load this message in the networking platform