Questions tagged as 'html'

1
answer

How to pull the button of an input file (without JS) [duplicate]

I have the following input file and wanted to know how to get the button, so in the box just show the file name * I do not need JS, I have already seen some examples and I remember that they did not use JS, but I also do not re...
asked by 17.08.2016 / 23:44
2
answers

Check input password

Hello, I'm starting to learn JavaScript, and I'm not getting any way to make my code validate if there are 3 uppercase, 2 numbers, and 1 special characters in my input. I would like to know what I should be making of error, because I made severa...
asked by 29.06.2015 / 04:46
2
answers

Image alignment with CSS

I have a div that contains another div inside, but this second div (inside) contains a <img src=""> , how can I do to leave this div with the image aligned in the center of the first div ? I already...
asked by 12.08.2015 / 16:55
1
answer

My Javascript gives syntax error in Chrome and Safari but does not give error in Firefox?

These are my files: <script type="text/javascript" src="js/jquery-1.9.1.js"></script> <script type="text/javascript" src="js/jquery-ui.js"></script> <script type="text/javascript" src="js/bootstrap.min.js...
asked by 04.02.2014 / 20:22
1
answer

Custom resize of a div

How to customize resize so you can resize anywhere in the bottom of div Example of stackoverflow itself: .caixa { background-color: #444; /* margin: 100px auto; */ height: 100px; width: 400px; resize: vertical;...
asked by 11.08.2018 / 03:06
1
answer

How to create a placeholder when loading page content, same as facebook, youtube, etc.

This is a question asked on various websites, and before I came here, I asked a lot, even on the stackoverflow in English. Well the part of the placeholder in html and css is already ready, I got following tutorials on several sites, missing...
asked by 16.06.2018 / 19:51
1
answer

Why Button inside Label does not work. Button does not work as expected does not activate Checkbox

I was making a Menu that only appears when a checkbox is checked. And to change the status of this checkbox I need to click on label of it, since input:checkbox is actually hidden. What happens is that within la...
asked by 28.12.2018 / 14:27
1
answer

Height of the div is greater than the height of the image. Because?

I have the following pure HTML, without CSS <div> <img src="_img/_banner/banner1.jpg" /> </div> The banner1.jpg image has 300px height and div has not been set. Looking at inspector to imagem...
asked by 16.11.2017 / 12:31
2
answers

UPDATE PHP with JavaScript

I'm trying to perform UPDATE, but it gives the following error:    Notice: Undefined index: id in C: \ wamp \ www \ SitePHP \ base \ updateFuncionario.php on line 4. Follow my code function function atualizar(id){ if(confirm("Deseja...
asked by 23.11.2017 / 20:21
1
answer

Error Notice: Trying to get property of non-object when getting the title of the page

I have a code that should take the title of the page example "Facebook - enter or sign up" but that is giving error in this line $title = $dom->getElementsByTagName('title')->item('0')->nodeValue; this is the code: function websit...
asked by 23.03.2016 / 16:36