Questions tagged as 'html'

1
answer

Make a select and checkbox behave similarly to radio button [duplicate]

With knockoutjs I'm having a hard time getting values of input inside a table to compare it would have to be as radio button , however they are two checkbox as can be seen in # function DemoItem(id, name)...
asked by 11.08.2017 / 15:29
1
answer

Alert only once Session

I would like to know how to make an alert appear only once for the user in the session, in case the user Loga and appears a div with alert informed Logged in successfully, after closing this alert I want it not to appear any more while the sessi...
asked by 03.07.2016 / 07:02
3
answers

Limit characters in div with contenteditable

I have a div with contenteditable="true" and I would like text that exceeds 10 characters to be taxed with background red, as in Twitter. My main question is how to only tax the surplus text, if you have to do this with only CSS...
asked by 30.07.2016 / 20:29
1
answer

Is it possible to have an html element expand up?

Ex: I have a paragraph inside a div, and I want whenever the text breaks a line, it expands up, rather than down (default). See the example: #content { width: 200px; height: 200px; background: yellow; } #texto {...
asked by 04.11.2016 / 11:53
3
answers

Error cracking page to print in Google Chrome

I have a page that prints tickets in 3 ways. Each ticket path is within a div with class ticket . After each route, I need to generate a page break. However, by using page-break-after: always; in Google Chrome, sometimes (...
asked by 25.10.2016 / 17:20
1
answer

Help with Javascript comparison operators

Good afternoon, I'm doing a job, of which I'm going to have several forms with a minimum and maximum number and I'm trying to create a check function and avoid inserting numbers out of range through the keyboard, my function was this way $...
asked by 20.11.2016 / 17:31
1
answer

Poor behavior when stretching image

I have the following html code: <figure> <div id="test"> <a href="#"> <img class="wideStretch" src="caminhodaimagem/img1.jpg" alt="Img 1" /> </a> </div> </figure>...
asked by 05.04.2014 / 16:55
2
answers

How to make one HTML page overlap the other

Hello, I would like to know if it would be possible to make one page overlap the other, type this template here:     
asked by 24.04.2016 / 18:55
1
answer

How to validate form's origin?

I have a web application in which there is a login and registration form, and from what I realized I can download the HTML from my site and send the request through my PC pointing to the site, so how do I check the origin of the form?     
asked by 20.03.2016 / 03:08
1
answer

Will other platform users see the sources on my site?

The question is simple: I have a website, its default font is Segoe UI , and Segoe UI Light , the site uses only those two. In Windows, the site appeared correctly and without problems, I now have doubts that if they enter through a Chrome (fo...
asked by 10.12.2015 / 23:03