Questions tagged as 'html'

1
answer

How to maintain the proportions of an image inside a fixed size div in CSS?

I'm having trouble creating an image that stays inside a div, maintaining its proportions. However the div has a default size, and can not exceed this limit size. Below is an image that illustrates my intention: Below is the code in...
asked by 23.06.2016 / 20:50
1
answer

Pick up the size of an image

Is it possible to get the javascript size of an image outside of my directory? For example in this usage: .divExterna{ background-image:url(http://www.backsite.com.br/datafiles/suite/escritorio/aplicativo/conteudo/album_fotografico/769.jpg)...
asked by 29.07.2016 / 17:03
1
answer

Manipulate an image before adding it to a canvas element

I'm adding an image dynamically to a canvas , but I'm not able to resize it correctly. var img = new Image(); img.src = "http://i.stack.imgur.com/lIaBN.jpg"; function inserir() { var canvas = document.getElementById('meuCanvas...
asked by 30.07.2016 / 06:01
1
answer

How to Format Each HTML Tag with Its Attributes in Assorted Colors?

An "image" says more than many words is not true !? So I invite you to see the: Example link    In this image we see some "tags" formatted in the colors "red", "maroon" and "skyblue". What I want with this is to do what an HTML ed...
asked by 29.07.2016 / 20:56
1
answer

How to hide undefined or validated variables after reloading the page?

I have 2 variables that get the values of an input type month , but when the code is executed for the first time ie when the page loads, the variables are undefined and the code takes the pc date. I would like to know if you can hide them,...
asked by 14.06.2016 / 14:35
1
answer

HTML Conflicts in two javascript files

I'm having trouble calling two .js files in my html page, because the two do not work together, just separate, I believe it's a conflict problem, custom alert on my site, but when I paste the code on the site the captcha does not work, it l...
asked by 15.08.2016 / 17:04
1
answer

Limit elements when arriving in a div

Hello, I have a table of inputs (can be added more with a button) and wanted that when it arrived in the footer, the inputs would not be superimposed. I'm trying to get the top and the footer fixed in the scrolling, but when I insert a lot of in...
asked by 15.08.2016 / 16:50
1
answer

Styling the input Date

Well, I was wondering how do I style a input of type date     
asked by 15.08.2016 / 14:12
1
answer

How to make the iCloud dynamic background effect?

How can I make the login screen effect with the background like iCloud when does the browser size change? If you repair the obfuscated objects change position depending on the size of the browser. In the first image are 2 rows of object...
asked by 21.06.2016 / 17:27
1
answer

Webbrowser click button without name and ID DELPHI

I know that for me to click on this button here! <input type="submit" id="btnSubmit" name="avancar" value=" Avancar " onclick="return onSubmit();"> I use this code webBrowser1.OleObject.Document.all.Item('avancar', 0).click;...
asked by 11.06.2016 / 06:37