Questions tagged as 'html'

2
answers

Submit form with href="" instead of input="submit"

I was given a layout of a form: <form method="post" action="" id="mail_form"> <div id="newsletter"> <input type="text" name="email_newsletter" /> <div class="newslink"> <input type="hidden" n...
asked by 01.04.2014 / 14:02
3
answers

Change class with javascript when resizing screen

I need a javascript code that changes the menu class to the responsivemenu class when the screen resolution is less than 750px .     
asked by 30.11.2015 / 17:54
2
answers

How do I show the value of the input type range

Well, I have the following code: <input type="range" name="vol" min="0" max="100"> I would like to know how I could do next to show the real time value that is selected, ie the user dragged with the "bar" in the range and next to the...
asked by 03.07.2016 / 03:13
2
answers

Does using "document.open" and "document.close" make any difference?

I saw in a given response from SOEN a question about how to print iframe content. I ended up with a snippet of code where I had the following: var newWin = window.frames["printf"]; newWin.document.write('<body onload="window.print()"&g...
asked by 14.02.2017 / 13:52
2
answers

How to leave a text centered between two horizontal lines?

I need to use a text centered on the page and between two horizontal lines in all project titles, as follows: Title text has magin: 0 35px , is dynamic, and horizontal lines should increase or decrease accordingly.     
asked by 25.02.2015 / 20:59
3
answers

Footer "stuck" at the bottom of the page and responsive (variable height - using bootstrap)

I've been following similar questions here in stackoverflow and other network sites, as well as tutorials on the internet, but the vast majority of the solutions do not work as I need them, or even are incompatible with the bootstrap system....
asked by 11.05.2015 / 08:17
2
answers

Redirect site https to http

I currently have a site where you use an SSL certificate, as the certificate has expired and needs to be renewed, SSL error occurs on any browser, making it impossible for users to visit. I would like to redirect traffic https:// to...
asked by 11.05.2014 / 19:28
2
answers

How to leave a span in the center of a div both vertically and horizontally

I have text that I want to manipulate with effects, but I need the text structure to be correct. The structure I need to do is to have each letter exactly in the middle of a div (one div for each letter). I tried using span but I was not success...
asked by 18.12.2015 / 13:32
8
answers

How to make a DIV fill all the available width

I have two divs, one with fixed width, 250px; which is on the left, will be a set menu, always left. And another div on the right that I want to make it 100%, whenever the user manipulates the corners of the screen, it was 100%. Something lik...
asked by 24.02.2014 / 13:32
1
answer

Break lines in CSS without using extra elements

I have 2 elements inline and I need to cause the line to be broken, without needing to add display: block; or if possible add but not occupy 100% of the line: <div class="box-error-page cb"> <h1 class="title-page-err...
asked by 21.08.2014 / 15:50