Questions tagged as 'html'

2
answers

How to "get rid" of the vertical space between divs?

I would like to leave every piece of my website stuck to each other, each in a different color. But I can not get rid of the whitespace that remain between the divs. I have already tried to remove the code space and apply font-size: 0 (tips I sa...
asked by 09.03.2016 / 00:51
2
answers

How to add sort indicators to a table?

I have created a sort algorithm [ascending - descending] of [letters - numbers]. I'm trying to add some sort order in the column title, but it's not working as it should. Example: function sortTable(table, col, reverse) { var tb...
asked by 19.02.2016 / 11:45
1
answer

What is the purpose of. in form action="." method="post"?

I'm starting in Django and making some code changes already written by someone. I noticed that in form instead of the usual "/action page" where the data will be submitted, such as in this W3Schools example: <form action="/action...
asked by 16.02.2017 / 23:02
2
answers

Square root and cubed number on a table

I'm learning PHP and I have a job where I have to do the square root and the cube of the numbers from 1 to 10, displaying in a table with PHP. I have already managed the square root of the numbers from 1 to 10 all in a square and the same with t...
asked by 21.02.2017 / 16:25
3
answers

How to eliminate the space at the top that my DIV leaves?

I have a DIV of leave a space between it and the top of the browser, see: link CSS: .element { position:relative; display: table; width:960px; height:120px; margin: 0 auto; padding:0px; background-color:#000000; border:0px; } I...
asked by 04.02.2016 / 19:04
1
answer

How do you position a moving div to be automatically saved?

I've developed a widget for my project and now I need it to be saved when I move it. Example: Initial position of widget 80px x 120px , after move it, initial position of widget 210px x 300px . I hope my doubt is...
asked by 04.12.2015 / 21:16
1
answer

File Upload

I have the following code below: PHP: <?php $nome_temporario = $_FILES["Arquivo"]["tmp_name"]; $nome_real = $_FILES["Arquivo"]["name"]; copy($nome_temporario, "/public_html/publico/$nome_real"); ?> HTML: <form a...
asked by 18.11.2015 / 21:41
1
answer

How to transform (cut) only one side of the element with css?

I need to do a background like this of the image, I could do both sides using transform: skew() , but I need to do only the right side as in the image! Thanks for the help !! MineissoIneedtoleaveitasintheimageabove. codeIusedtodo:<d...
asked by 02.12.2015 / 18:08
1
answer

Put one div behind the other

I can not make it work at all. I'm using "animate.css" to make the animations of the elements appear, but when an element is rising, at the bottom of the page for example, all the content of that section goes over the footer, leaving an "ugly" e...
asked by 08.01.2016 / 16:02
1
answer

Helps in passing a jsFiddle code to an HTML file

I have a code in this jsFiddle that I changed, but now I am having difficulty passing it to an HTML file . My code: <!DOCTYPE html> <html lang="pt-BR"> <head> <meta charset="UTF-8"> <title>Document<...
asked by 27.10.2015 / 20:08