- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi!
I’ve been working in a website and I can’t figure how to vertically center a search box inside a nav
.
I’ve tried to simplify the code and share it on Codepen but wasn’t able. Here‘s a picture of how it looks.
Please forgive my poor English.
This is the Codepen I tried making. Properties are the same as in the example – but it doesn’t work :-(.
You mean like this
It is vertically centered in the nav in my Codepen.
I’m wondering is you mean horizontally centered [middle of page]…although it’s not shown centered in your example image.
Oh! Sorry! Thanks a lot.