Placeholder is not supported in IE9;
http://caniuse.com/#feat=input-placeholder

You can use a polyfill;
https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-browser-Polyfills

On Tue, Sep 4, 2012 at 10:16 AM, aniket kulkarni <[email protected]>wrote:

> When I create a text box using bootstrap css, the placeholder value is
> visible in all browsers except IE. But in twitter site they're making it
> visible (not java script, cause I turned off scripts and tested). And the
> look and feel of several other tags using bootstrap css is different in IE.
> Can anyone out there help me ?
>
> Here is the html file which I have written.
>
> <!DOCTYPE html>
> <html lang="en">
> <head>
> <meta charset="utf-8">
> <title>Twitter Bootstrap</title>
>  <link rel="stylesheet" type="text/css" href="css/bootstrap.css">
> </head>
>
> <body>
> <form class="well">
>   <label>Label name</label>
>   <input type="text" class="span3" placeholder="Type something">
>   <button type="submit" class="btn">Submit</button>
> </form>
> </body>
> </html>
>

Reply via email to