Questions tagged as 'html5'

1
answer

CSS + Java Script: Treating image larger than a circular div

Good morning !! Home I'm trying to do the following: I created a function that when clicking on the photo, send the photo to the circ%% circular, the problem is that if the image is bigger than the div, it overlaps everything, I would like to t...
asked by 04.10.2017 / 13:56
1
answer

How to keep a rotated text centered in a dynamic height div?

Basicallymyproblemisinthecolordiv,andinrotatedtext.Ineedthedivofthecolor,hastheminimumheightrelativetothesizeoftherotatedtext,andthatthemaximumheightisrelativetotheexternaldiv.Iwillhavedynamicinformationinsertedintotheinformationboxdivs.Myprobl...
asked by 21.10.2015 / 12:32
1
answer

Get element without id

I have div , and within it a canvas without id and other elements . <div id="itens"> ... <canvas></canvas> ... </div> How can I get canvas using JQuery ?     
asked by 20.08.2015 / 16:31
2
answers

PHPmailer - CSS does not appear

Hello, I'm trying to set up phpmailer to send a message in html with css, but it's not recognizing the css. What's wrong? $mail->Body = ' <style type="text/css"> .corpo {margin: 15px;padding: 15px;background-col...
asked by 25.06.2015 / 21:27
1
answer

Enable CORS via JavaScript (Phonegap)

I'm creating a Phonegap application that consumes a Web Service (Web Service) API, and I need to access an external domain. Searching through the web I found that I had to enable CORS via JavaScript to be able to access other domains. In this wa...
asked by 24.02.2015 / 20:41
1
answer

How to put a text cursor to start on the right? Calculator

I'm doing a basic calculator and in the calculations screen, I want the numbers to be "printed" from right to left. How can I do this?     
asked by 31.03.2015 / 03:14
1
answer

Percentage in ajax requests

I wonder if it's possible to create a percentage in Ajax requests. For example: When the form is submitted it starts with 0% up to 100% (when complete) My ajax: index.php <script src="jquery.js"></script> <script> $(...
asked by 10.12.2014 / 13:17
1
answer

Is it safe to use font-face instead of cufon and the like?

I'm working on a website and need to use fonts that the user may not have on their machine. Do most browsers now support @font-face ? From which versions? It is already possible to give up alternatives like cufón ?     
asked by 04.09.2014 / 20:42
1
answer

Identify if the computer has a QR Code reader

The first step of registering my project has two layout options: one for who owns a QR code reader (web cam) and one for those who do not. I need to identify if the user's browser has access to the webcam for reading the QR Code, how can I do...
asked by 14.12.2015 / 16:43
1
answer

Minimum and maximum limit of a number in an input of type number

Hello, I would like to know how I can put a limit, a minimum and maximum number that can be typed in the field. For example, make the number entered in the field below can not be less than 0 and greater than 9. Note: Only integers from 0 to 9...
asked by 15.12.2015 / 17:52