Questions tagged as 'html'

2
answers

Text input text box on the right

In a box that the text is aligned to the right, how do I do that when I focus on the text box independent of the place the writing cursor goes right? I want that when I click on an input of type text where a decimal value is inserted the cour...
asked by 14.02.2014 / 13:20
2
answers

How to make the container reach the footer? (even with low content)

I have a layout here, where the container background is transparent black, and it goes to the bottom of the page. but it has another problem, where it is written "Sitemap", it is a menu that slides up, and that container has that behind it,...
asked by 11.02.2014 / 13:13
1
answer

Conflict margin in css

Well I have 2 classes being: 1 - container that receives some information 2 - top_menu that receives the menu. I can not explain how this happens, but whenever I put a div with class container the menu creates a margin at...
asked by 24.05.2017 / 19:30
3
answers

Third IF ELSE

So I am a beginner in javascript and I was practicing doing a function that forces the CPF field scores function maskCpf(){ var c_char = document.getElementById("txtCpf").value.length if (c_char == 3){ document.getElementById("txtCpf").valu...
asked by 14.01.2017 / 22:04
2
answers

Layout different on other computers?

I have a project and this project was all done from scratch on my PC, however when I took my project to another PC that had a totally different display resolution of mine, the images and certain texts that I put were out of place that they shoul...
asked by 08.02.2017 / 01:07
2
answers

JS Error: Uncaught TypeError: Can not read property 'addEventListener' of null

I'm setting up the function to open a menu. But I'm getting the error message "Uncaught TypeError: Can not read property 'addEventListener' of null" Below is the code I'm using to open the menu with JS var veri = 1; var trigger = do...
asked by 06.04.2018 / 21:28
1
answer

AngularJs-Material how to change the md-datepicker Portuguese language

I'm trying to change the language of md-datepicker to Portuguese because the days of the week and months are in English, so it gets confusing to the user ... Is there any way to change this language? Format the fields for Portuguese? <divfle...
asked by 25.10.2017 / 14:04
4
answers

Which method best suited to "connect" a CSS code to HTML? [closed]

I was researching about it and saw that there are some different methods of doing this. For example, there is a method where you put the CSS code in the same HTML file, and there is another one where the CSS and HTML codes are in separate files....
asked by 25.10.2017 / 01:38
2
answers

Uncheck radio type input

I have two inputs of type radio . Here is the code below: <input type="radio" id="isgift0" name="isgift" value="0" class="arredondado" /> <label for="isgift0">Teste 1</label> <input type="radio" id="isgif...
asked by 27.10.2017 / 21:11
1
answer

What is the hreflang attribute for?

I am interested in SEO techniques and among my searches I found the hreflang attribute. Some examples: <!-- Dentro do HEAD --> <link rel="alternate" hreflang="pt-br" href="..."> <!-- Dentro do BODY --> <a hreflang=...
asked by 13.07.2017 / 23:32