Questions tagged as 'html'

2
answers

How to put an input submit inside the input text?

I have this HTML: <form action="" method="post"> <input type="text" name="pesquisa" placeholder="O que você procura?"/> <input type="submit"> </form> And I have this CSS: body>header form{ margin:25px...
asked by 10.12.2014 / 04:22
3
answers

TAG center substitute

I have the following form: .table { max-width: 500px; border-collapse: collapse; font-size: 12; width: 320px; text-align: center; box-shadow: 2px 2px 2px 2px #aaa; } .table tr td{ padding: 8px 8px 8px 8px; }...
asked by 10.03.2015 / 14:24
3
answers

Background image 100%

I've always had this curiosity, how to leave the background image 100% according to the monitor (We all know that there are several measures). So I was told that it would be a script in JS or jQuery, I do not remember very well, and it worked as...
asked by 16.10.2014 / 03:02
2
answers

The less you consult the better, right?

It is possible to vary the writing of the results, as an example below where I want to use. <table width="1000" align="center"> <tr> <td>&nbsp;NOTICIAS</td> <td>&nbsp;</td> <t...
asked by 04.04.2015 / 15:02
5
answers

Disable a submit and Activate only when the minimum radio buttons is selected

I tried to make a function but it came out with some strange bugs, it has to be more or less this script, but enable button only if 5 or more radio buttons are marked. Remembering that my form is huge, it is a questionnaire that has radio grou...
asked by 27.02.2014 / 18:28
3
answers

Create a comic-balloon-shaped div

How can I create a% com with comic book-like appearance (I do not know if this is the best expression). Goal: Reality: * Please ignore fonts and colors in question, focus is tip of div . Follow the code in JSFiddle :     
asked by 02.10.2014 / 21:36
2
answers

How to print a javascript variable inside an html tag?

How to print a javascript variable inside an html tag? <script> (function() { var PORCENTAGEM = '25%'; })(); </script> <div class="progress progress-striped active"> <div class="progress-bar" style="widt...
asked by 24.07.2014 / 22:04
1
answer

Bug textarea with padding in Firefox

padding-bottom in <textarea> , works normally in Google Chrome and other browsers when scrollbar scrolls, but in Firefox the spacing always stays "fixed" and texts are cut off. Difference in Opera (based on Chromium) and...
asked by 18.08.2016 / 21:12
3
answers

How to select an option in select using a text using jQuery?

I have <select> created this way: <select id="animal"> <option value="0">Novilha</option> <option value="1">Bezerro</option> <option value="2">Boi</option> </select> T...
asked by 26.01.2017 / 17:00
4
answers

Send form HTML without submit button

Is it possible to create an form HTML that automatically sends the form data? Ex: I have a form only with radiobutton and because of aesthetics I do not want to put the submit button, could it be created?     
asked by 20.01.2015 / 19:50