Questions tagged as 'html5'

3
answers

Problems with image on site

Hello, I want to put an image in the header of my site, but I can not get it right on the header. If I put the code before the div, it does not appear, its I place it in the div responsible for the title, it appears. I have attached the images o...
asked by 16.09.2016 / 19:24
1
answer

How do I change the color of the progressive bar when an error occurs?

How do I change the color of the progressive bar when an error occurs? <div id="divMenu"></div> <div id="divModals"></div> <div class="container"> <label for="cliente">Arquivo</label> <div c...
asked by 25.05.2016 / 22:54
1
answer

Returning the day of the week in Javascript

I have two codes to return the day of the week, but in the first it returns undefined, and in the second it returns the wrong day, for example on 22/05/2016 it returns Wednesday, and the correct one would be Sunday. Code 1: $(document).read...
asked by 22.05.2016 / 19:38
2
answers

Error implementing facebook share

Here is the code I have: <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.fa...
asked by 22.12.2015 / 18:34
2
answers

Help with HTML / JavaScript

I need to create a page that has two questions with two answers (radio) of YES or NO, and, below, a send button. I need the questions and answers, when answered and the user clicks the submit button, appear in a TEXTAREA just below for the user...
asked by 06.04.2016 / 22:46
1
answer

Using variables

I was looking at the use of variables in CSS, as below, simple thing, so far so good. Then I saw that I could incorporate 'functions', but I only saw it using libs like lesscss and sass . Is it possible to define a function in CSS - like th...
asked by 25.04.2017 / 21:17
2
answers

Set the value of the input whose name has brackets

As described in the title, follow the example below: ---- HTML <form id="nameGenderForm"> <table id="teste"> <tr> <th >Name</th> <th >Gender</th> </tr>...
asked by 08.11.2015 / 18:16
2
answers

How to repeat an HTML CSS image

I want to use an image in the header of the site, it is small and I would like to repeat it horizontally throughout the header using CSS. The HTML is as follows: <body> <header> <div id="cabecalho"> <img src...
asked by 26.04.2015 / 21:33
1
answer

Calculate the time difference between two input time fields

What is the best way to calculate the difference of minutes between two input time fields with PHP? Example of two fields input : <label for="Cseg3">Horário 1:</label> <input type="time" id="Cseg3" name="Tsegs"...
asked by 17.04.2015 / 01:01
2
answers

JQuery how to set a value in a field with CPF mask?

I have an input using an example CPF mask: $("#cpfDependente").mask('000.000.000-00'); and I'm trying to set a value in the input this way $("#cpfDependente").val(dependente.cpf); It correctly directs the problem is that the masca...
asked by 16.11.2015 / 20:35