Questions tagged as 'html'

1
answer

Constraints in the text field react

Is it possible for a text field to receive only the characters below? numeros | espaço | barra (/) | traço (-) The type field does not help me in this case, would it be nice to use the text type in this case?     
asked by 19.07.2017 / 23:37
1
answer

PHP can not read POST sent by JavaScript

I'm creating a login system for my site following tutorial , but I have a problem when I log in. Apparently, the JavaScript code does not pass the form parameters correctly. The login page code is: function hex_sha512(value) { // apenas p...
asked by 21.10.2015 / 01:51
1
answer

Save cropped image with JCROP pro Bank

Hello! I'm creating a user profile and to crop the image I'm using JCROP. It usually cuts to me, but I wanted to know how I can save this result in the image and the bank accept this clipping that has been done. <!DOCTYPE HTML> <...
asked by 25.07.2017 / 17:41
2
answers

Getting the full path of a client file in ASP.NET

On the server side, is it possible to get full path of a file sent by a client using the <input type="file"> tag? For example, if the user sends the file C:\Users\Documents\a.txt , does the server get the string C:\Users...
asked by 13.05.2014 / 22:03
7
answers

Is there a problem if I leave a php file containing only HTML code?

I have a php file on my site that serves as a template for a single page of the site, inside this file there is only HTML code, it has no php <?php ?> tag, nor anything. It's like an html file, but with the .php extension My ques...
asked by 27.08.2014 / 22:32
4
answers

Placing an IF in CSS

I have a CSS that shows and hides a div . But I want this to happen only if this field is filled in, that is, if it is different from empty. <input type="text" onkeypress="return BuscaDados(event);" onblur="CarregaFornecedor(this.valu...
asked by 11.09.2018 / 15:09
4
answers

Footer with one line

I'm using bootstrap to make a footer, but currently it's playing each element on a line like this: Iwantedhimtostayonasinglelinelikethis: <footerclass="footer"> <div class="container "> <img src="imgs/logobranco.png"&...
asked by 27.02.2018 / 19:44
3
answers

How to use fixed position inside a div?

I have a div that has its header and its content that has height fixed and it has scroll . How to put position: fixed in header (where is the title), without moving it when scroll goes with the page? Example:...
asked by 16.05.2014 / 15:08
2
answers

Problem in creating fixed layout [closed]

Well, I'm having trouble creating a fixed layout f that fits only the height or width of the screen, be it the phone or the desktop. But it's not a responsive site, it's a normal site for desktop , not for mobile version, but when I...
asked by 05.06.2015 / 23:58
1
answer

How can I make a Javascript roulette [closed]

Well my question is this: I have an HTML form, which when loading on submit it gives me a random number of 1 to 5 in PHP. What I wanted to know was, how could I do that by clicking on the button PHP would select one of the numbers 1 to 5 rand...
asked by 17.06.2015 / 05:01