fail to change placeholder color with Bootstrap 3

Assign the placeholder to a class selector like this: .form-control::-webkit-input-placeholder { color: white; } /* WebKit, Blink, Edge */ .form-control:-moz-placeholder { color: white; } /* Mozilla Firefox 4 to 18 */ .form-control::-moz-placeholder { color: white; } /* Mozilla Firefox 19+ */ .form-control:-ms-input-placeholder { color: white; } /* Internet Explorer 10-11 */ .form-control::-ms-input-placeholder { color: white; … Read more

How do I put hint in a asp:textbox

The placeholder attribute You’re looking for the placeholder attribute. Use it like any other attribute inside your ASP.net control: <asp:textbox id=”txtWithHint” placeholder=”hint” runat=”server”/> Don’t bother about your IDE (i.e. Visual Studio) maybe not knowing the attribute. Attributes which are not registered with ASP.net are passed through and rendered as is. So the above code (basically) … Read more

Use Font Awesome Icon in Placeholder

If you’re using FontAwesome 4.7 this should be enough: <link href=”https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css” rel=”stylesheet”/> <input type=”text” placeholder=”&#xF002; Search” style=”font-family:Arial, FontAwesome” /> A list of hex codes can be found in the Font Awesome cheatsheet. However, in the lastest FontAwesome 5.0 this method does not work (even if you use the CSS approach combined with the updated font-family).

Placeholder in IE9

HTML5 Placeholder jQuery Plugin – by Mathias Bynens (a collaborator on HTML5 Boilerplate and jsPerf) https://github.com/mathiasbynens/jquery-placeholder Demo & Examples http://mathiasbynens.be/demo/placeholder p.s I have used this plugin many times and it works a treat. Also it doesn’t submit the placeholder text as a value when you submit your form (… a real pain I found with … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)