4
I am a beginner in the area and I do not have much knowledge, I have the following code, and I would like it to be filled only with numbers and in the format "00/00/0000" and "00:00" respectively. I know there are other means, but I would like to know how to do this using only css. It is possible?
<input type="text" id="txtdia" size="4px" style="text-align:center" placeholder="Dia"/>
<input type="text" id="txthora" size="4px" style="text-align:center" placeholder="Hora"/>
I’m getting beat up even from this program... wrote td but only put up to this part :/
– fares
Now it worked
– fares
From a look here https://answall.com/questions/136089/cria-mascara-phonesome-html-css/136112. As far as I know, you can’t do this with css alone, better use javascript or any other programming language
– Pena Pintada
Thank God... I’ll have to do with you.
– fares
See https://answall.com/questions/6526/como-formatr-data-no-javascript
– Pena Pintada
It can only be done with css yes, I am that you need an element inside the input and not the default placeholder
– hugocsl
@hugocsl... how do I do this?
– fares