Help a bro center his CV
https://codepen.io/Laing91/pen/RwOGJBe
I can't figure out how to do it, I thought if I just gave the wrapper a grid/flex display then I could center it, but it doesn't like it, and I know it's probably an easy fix, I just can't quite figure it out...
7 Replies
You just need margin: 0 auto on your .wrapper class
you have given a fixed width to it in mm and you can use margin: 0 auto; to center it. Also you can use display: grid and place-items: center; on your body to center it both vertically and horizontally in the center. For vertically center, you may height on your body.
Add margin:auto; to div.wrapper.
no shot that's all I missed
...it is.... oh boy...
Thanks both!❤️
...and perhaps use <li> for list items (etc.). This really puts your skills into question.
oh shit, you're right... I keep forgetting about lists.. that's so bad D:
I was not looking any way deep but make sure it is elaborate and according to the best practices. You imagine how awkward it is is someone claims proficiency with MS Office ... and uses a couple of Enters instead of proper page break (and doesn`t even export to a .pdf).
yea gotcha, I made this awhile ago but I'll work on it to make it a lil' cleaner
thanks for the heads up