How do I push my header to the right?


#1

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;
}


#2

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


#3

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


#4

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