Posts by Vitor Correa • 38 points
9 posts
-
-1
votes1
answer29
viewsA: behavior of nested containers
CSS works in a cascade, meaning that the children of its elements will receive the same styles that their father received (the Ivs stylizations within the container-internal div affects the…
-
0
votes1
answer13
viewsA: Centralizing a list with floats
You can put a position: Absolute in the class . exemple and modify its position through the margin-left (always prefer margin-left. The "rem" will change position according to the parent of the…
css3answered Vitor Correa 38 -
-1
votes1
answer31
viewsA: Footer to position himself when he has a lot of content and when he has a little
Try splitting the sections of your site with the Section tag, so one will always stay at the bottom of the other (you can also set it to be next to each other with simple css). something like that:…
-
-2
votes2
answers58
viewsA: How do I include text with the result in my innerHTML modal?
Have you tried to remove Showvalue and put the result directly in the tag p? would look like this: function dolarParaReal() { //Função para calcular e mostrar o resultado var valor =…
-
1
votes1
answer105
viewsA: How to create a Constructor when there is if/Else and external variables?
You can relate this function to a constant or a variable, and then return the result of this function: let ChamaFuncao = $inputFromA.on("input", function () { var val = $(this).prop("value"); if…
-
0
votes1
answer62
viewsQ: Change the HTML background when input is true
I’m making a website where you’ll have as background a photo of Heisenberg saying "Say My Name" with a text input in the middle of the screen and when the user type Heisenberg the background will…
-
0
votes2
answers51
viewsA: How to remove spacing between main tag and header? (solved)
I solved the problem by adding H2 next to main, body and html in the style.css. For H2 to work properly, I removed the font-size.
-
-2
votes2
answers51
viewsQ: How to remove spacing between main tag and header? (solved)
When I place an element H2 within the tag Section who is the daughter of main, a spacing appears blank between the main and the header. The problem also occurs if the H2 tag is placed inside the…
-
-3
votes3
answers47
viewsQ: How do I make a DIV appear when positioning the mouse on top of an img?
I’m having difficulty making a menu on the site I’m mounting, I want when the user positions the mouse pointer on top of the image in the upper left corner, open a menu at the same location where…