Questions tagged as 'html'

2
answers

How to adjust a div to fit across the screen if there is not enough content for it

Hello, I'm using the Materialize freamework to create an administrative dashboard for a system I'm designing in PHP, but I know very little of the front end. I would like help setting the leftbar to fit across the screen if there is not enoug...
asked by 25.07.2017 / 05:37
4
answers

How to pass a text from the database to display as a link on a site

Hello, I'm making a website in php and html, linked to a database in mysql. And I have a news table in the database, with the idartigos, title, text and link fields. The link is passing in text and I would like it when someone sees the new...
asked by 27.06.2017 / 21:57
1
answer

replace color box by image in css

Good afternoon guys, next I have some text boxes that are being formatted via css I would like to know if it is possible to change the formatting of these boxes for images without having to change the formatting in the main html or script pages....
asked by 19.06.2017 / 17:41
2
answers

array conversion error for string

I need to insert into the database variables that are in a php array, I typed the catch: for ($i=1; $i <= 20 ; $i++) { $sqlp= "INSERT INTO pergunta$i (pergunta, opcao1, valor1, opcao2, valor2, opcao3, valor3, opcao4, valor4, opcao5...
asked by 20.06.2017 / 00:41
1
answer

absolute DIV respect padding of the parent DIV

I need to put a div with the property position = absolute . However,% of parent% has div and padding of width: 100% child does not respect this div . Would the only output would be to set padd...
asked by 19.07.2017 / 21:47
1
answer

Google maps warning: getCurrentPosition () and watchPosition () no longer work on insecure origins

I'm using laravel with a virtualhost and I need to make the map work on localhost, but I already have the google key and even then, without putting the restrictions on the key, the message still appears. How do I make Map work in the localhost e...
asked by 19.07.2017 / 16:16
1
answer

Why is my div getting an extra 40px?

I am studying css3, I am creating crids inside crids and there is something wrong, my ul that has with the "side" class is gaining extra 40px, consequently the child li "grid1" has space left in 40px. / p> index: <!DOCTYPE html> &l...
asked by 09.07.2017 / 16:50
1
answer

Jquery help does not appear

I have a problem on my site, I had the help of a forum member who gave me a jquery code, I put it to run on my site, but I have a problem with it, the warning that should be generated does not appear, Can someone help me? #topo { background...
asked by 11.06.2017 / 16:43
1
answer

doubts Input type date

Good afternoon, I'm doing a form, for registering and modifying users. When I try to insert a date into the inputs of type="date", no data type is displayed on the screen. These dates I'm using all come from a json that already has them register...
asked by 12.06.2017 / 22:13
1
answer

Click running wrong

I have this code: function loadEditLabel() { // Salva o novo input saindo do campo ou apertando enter $('[contenteditable="true"]').focus().select().keydown(function(event) { if (event.key == 'Enter') { // Checa se a tecla dig...
asked by 12.06.2017 / 21:57