+ 1
Hi everyone, after reducing the width of a border, how can i center it ???
Positioning border
11 Réponses
+ 6
Great!
You're welcome.
Happy learning!
+ 5
Ok, I'll see what I can do. Your html needs some restructuring. 👍
+ 5
No problem. Take a look at grid and flexbox, it's going to come handy in the future.
+ 4
Hmmm, I'm not sure what you're exactly trying to achieve?
Take a look at this and tell me what should be changed :
+ 3
Show us the code,please.
+ 3
Hi again!
Sorry, I haven't forgotten about you, I was just busy.
So, here is the new code, I hope we understood each other.
First of all, your html code was quite a mess. You've put your h1 tag in the head tags, you haven't put closing tags to any of the sections etc. So, make sure to check your tags before moving on.
I used something called flexbox to arrange content of the page. You would need to learn more about it to fully benefit from the code. You can find out more in freecodecamp.org or in css-tricks.com. I'll leave that to you. 😊
Cheers!
https://code.sololearn.com/WmzbylTi67Tm/?ref=app
+ 2
That's perfect!!!
I've checked flexbox and realized that it was a major problem in most of my projects (bad structure of my HTML leading to unwanted results) , so time to learn and fix it.
Thanks 😉
+ 1
The code is not finish.
It is the h1 that I try to center but don't understand how to do it after many tries.
Thanks for the help!
+ 1
To move the reduced h1 so it can appeared to be above the red circle (still on the top of the page).
+ 1
Thanks a lot😉