Questions tagged as 'html'

3
answers

Capture Input ID

Does anyone know how I can capture the id of an input and send it to the database? EXAMPLE I have this input: <input type="checkbox" name="adicional" id="Leite Ninho" value="2.00"> It has the name that I will use to call it th...
asked by 30.10.2015 / 16:49
1
answer

How to prevent text from being selected using CSS

How do I prevent a text from being selected by the user using a rule in CSS?     
asked by 30.10.2015 / 19:38
3
answers

Difference between Immediate Child and First-Child?

Could anyone help me with the difference between these two concepts? From what I understand both mean the same thing ... but by performing the test below, the text got the formatting of the pseudo-selector div > p { font-family: Gara...
asked by 25.04.2017 / 04:25
3
answers

How to traverse a children and a div with JavaScript?

I need a function that traverses #paicasas and leaves the background of all children "casa1, casa2 ...". I tried to do this but I know it's far from right. function apagar(){ for(var i in document.getElementById('paicasa...
asked by 10.11.2014 / 21:12
5
answers

CSS Child selectors in IE8?

Today I needed to make a fix for IE8 in which I used the following selector to align 3 boxes horizontally. #page-content .section-servicos .box-servico:nth-child(3n+2){ margin-right:0px; } In IE8 this code does not work, so I decided to do...
asked by 17.02.2014 / 17:50
1
answer

Is there any way to remove unused CSS and JS code from the application?

I wonder if there is an transpiler that parses the classes and ids used in an HTML page and removes all classes and ids in CSS and JavaScript. This would be interesting to further narrow down files by improving page performance.     
asked by 13.12.2018 / 12:02
1
answer

How to create a textarea with multi columns (like a newspaper?)

Is there a way to create a textarea that its display is multi-column? I have several fields in textarea for the user to be able to make edits, but I need these textareas to be displayed in a newspaper form, those of multi columns. I resear...
asked by 29.09.2015 / 17:02
3
answers

Angular Side Menu

I need to make a side menu that as I click on an item it points to the location of the page where this item is located. An example is this ionic page. If someone has an example to help, I'm very grateful.     
asked by 23.11.2015 / 11:28
1
answer

Is it possible to do a line break inside a placeholder?

I would like to perform a line break inside the placeholder of a textarea, so you can set an example how users can fill it. Is there any way to do this? <textarea placeholder="Excelentíssimo Senhor Professor Dout...
asked by 15.08.2017 / 16:00
1
answer

Why is this Bootstrap Tab setting not working?

The code is as follows: <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Site</title> <link href="css/bootstrap.css" rel="stylesheet" type="text/css"> <link href="css/bootstrap-theme.c...
asked by 26.04.2014 / 20:08