Questions tagged as 'placeholder'

2
answers

How can I simulate a placeholder using a label?

I'm trying to make label simulate a fixed placeholder. The biggest difficulty is to change the properties of label when input gets focus , and input fill in the rest of the space automatically. I tried to...
asked by 01.01.2014 / 21:45
2
answers

Change the color of the placeholder without affecting the color of the "value"

In HTML5, we can make use of the placeholder attribute % (English) to give the user a hint about the type of data a given field accepts. To avoid confusion between data actually written by the user and the text with instructions, I wou...
asked by 06.03.2014 / 16:35
2
answers

"placeholder" of "textarea" does not appear

I have textarea with placeholder that according to documentation (English) is perfectly valid and should work: Example in JSFiddle Part of the form <?php /* Apenas o código referente à textarea */ $oc_message =...
asked by 23.01.2014 / 13:50
2
answers

Placeholder color does not change when the mouse is over it in another theme

I have the following search box whose placeholder is custom even in hover , however when I change to high contrast mode of the site, it does not change the color of placeholder when in hover . Note that hovering over t...
asked by 19.04.2018 / 15:35
3
answers

Add a title to the SELECT tag (without the "selected disabled" option) without it appearing in the options?

How do I add a title to select as it appears in the options and adds when it is selected? I know it looks like a duplicate, but the problem is that I did not find what I would like exactly, the selected disabled option works but...
asked by 03.04.2018 / 17:35
1
answer

UPDATE, field with placeholder query failed to execute

Follow the code: $campo = $_POST['campo']; $valor = $_POST['valor']; $id = $_POST['id']; $mysqli = new mysqli("localhost","root","","tabela"); mysqli_set_charset($mysqli,"utf8"); $consulta = $mysqli -&g...
asked by 20.01.2015 / 01:38
2
answers

Animated Placeholder

I found this response link but I can not keep the placeholder as a title, as soon as I type something it disappears, in this way box goes unidentified .inputAnimado{ margin: 10px 25px; width: 200px; display: block; border: no...
asked by 08.05.2017 / 04:31
2
answers

Placeholder does not appear after applying "padding" in the input

Hello, I am having a very silly and simple problem that is causing me to miss a P # @ & time! Come on .. I'm using the Bootstrap v3.3.6 CLASS="form-control" If someone wants to do an inspection on the website, it is incomplete even in gi...
asked by 25.11.2015 / 04:17
1
answer

"Substitute" ideal for placeholder

I'm in the final stages of a project! And now I'm doing the tests like performance tests and structuring errors! One of the errors found is placeholder of inputs and textarea. What can I use in place of the placeholder and which preferabl...
asked by 01.05.2015 / 02:00
1
answer

Help with placeholder that does not change color

People, I really need your help. I'm developing a website. I'm studying more accurately html5 and css3, and I'm getting a problem I can not solve ... Here is the format of the site in CodePen: link And if you want to download on your...
asked by 07.06.2017 / 08:05