How do I push my header to the right?

I need to push my header to the right of my left id.

#header {
width:90%;
height:75px;
background-color: Grey;
border-radius: 10px;

}

#left {
width:5%;
height:1000px;
background-color: red;
border-radius: 5px;
display: absolute;

}

div {
display: inline-block;
}

You can use float: right; / float: left;

1 Like

Wow thank you! Thats they only element I didnt think about. I feel dumb!

1 Like

Don’t :slightly_smiling:
You’re welcome :green_heart:

Happy Learning :slightly_smiling:
Happy coding !

What inspired you to learn programming/coding?
Join the discussion

1 Like