Posts by Vinicius Macedo • 61 points
8 posts
-
-1
votes1
answer53
viewsQ: How to padde an <li> item vertically hide 100% of the container?
I was able to calculate the exact size of the bar and put the value in the padding, but this causes me problems later, how do I make it look like in the image below? <html lang="pt-br">…
-
-1
votes1
answer274
viewsQ: Difficulties with flex-box, align the menu icon on the right
I had to use flexbox to leave the class logo and class menu vertically aligned in the center of the tag nav because font-awesome icons were not working with line-height, however this is causing me…
-
-2
votes2
answers135
viewsQ: How to vertically align awesome font icons?
I would like the Font Awesome icon to be aligned vertically in the center of the div <nav>, same as class item logo on a screen smaller than 480px. I tried with line-height, but it didn’t work…
-
-1
votes1
answer77
viewsQ: simple css - background color occupy 100% item horizontally from list
Hi, I’m trying to make the color of background-color of item li:hover occupy 100% of the width of the screen when opened by a screen smaller than 480px, I tried to leave the width of the padding at…
-
0
votes0
answers411
viewsQ: Java Beginner Doubt - Why is the result of the double variable wrong?
I made an algorithm that simulates a bank account, where the client can withdraw and deposit values, worked perfectly when I used variables like int, but when I use double type variables (in order…
-
-2
votes2
answers898
viewsQ: How to leave a space between the menu and the top of a page?
I would like to leave a small space between the navigation bar and the menu (approximately 20pxs) without affecting the background image positioning. HTML <!DOCTYPE html> <html>…
-
1
votes0
answers25
viewsQ: Beginner’s question - white space between top and navigation bar
The code below is from a simple navigation bar, the problem is that there is a blank space between the menu and the top of the browser. I found 2 solutions, change the selector body for * in the css…
-
2
votes2
answers180
viewsQ: How to evaluate if the user will have the source used on the site?
When the user does not have the specified font in the css file installed on his computer, the browser will use the standard style font, according to the handouts I read. For example, you create a…