My button doesn't go to the right side of my nav [closed]

56
November 14, 2021, at 7:20 PM
Closed. This question needs details or clarity. It is not currently accepting answers.

Want to improve this question? Add details and clarify the problem by editing this post.

Closed yesterday.

Improve this question

I tried float and justify content in the "header button" section but that didn't work too. I think it has to do something with the header. i tried to erase the justify-content element from the header and put it in "header ul" but that didn't work aswell.

*{
margin:0;
padding: 0;
box-sizing: border-box;
}
body {
    background-color: #a99272;
}
button {
cursor: pointer;
border:none;
}
header {
display: flex;
height:80px;
width: 100%;
justify-content: center;
background-color:#0d1010;
align-items: center;
font-size: 1.3em;
border-bottom-left-radius: 10px ;
border-bottom-right-radius: 10px;
}
header img {
position: absolute;
height: 60px;
top:10px;
left: 10px;
}
header nav ul {
list-style: none;
display: flex;
}
header button {
display: flex;
position: absolute;
background-color:#1e3f66;
color: mintcream;
border-radius: 20px;
padding: 10px;
width: 70px;
justify-content: right;
text-align: center;
 }
 nav ul li {
 margin: 10px;
 color: #e8e8e9;
 }
Answer 1

I had to change the justify-content element from center to space-between.

READ ALSO
Can't load random images

Can't load random images

I've been trying to get the cat images displayed in random order from the top arrayMy click4pics doesn't work with the code that is shown, I get a message that the images cannot be found however when I change the image source to load only one image the function...

77
Google Cloud Vision Text Detection - Ignore Text on Logos

Google Cloud Vision Text Detection - Ignore Text on Logos

I'm using the following code to detect text on an image and then get that result as a string array:

63
Android ContentProvider receiving end: Threading necessity or not?

Android ContentProvider receiving end: Threading necessity or not?

When I extend ContentProvider and implement the call() API:

68
Python server - How to communicate between multiple clients?

Python server - How to communicate between multiple clients?

I'm writing a python3 server using socket and selectors, I want to achieve the communication between clientsBut I can only send the message back to client themselves instead of other clients

125