First post here so go easy on me, I’m not sure if this is even called center vertically but what the hey.
It’s probably something really simple that I’m just overlooking. I’m trying to get from this (Actual Site):
To this (Design):
I basically want to push the text and search-bar down to the absolute center of that bar, but without using padding if that’s even possible. Sort of like the margin: 0 auto; trick but instead of horizontally I would like it to work vertically.
It would be nice if you could provide a code too. Then its much easyer to help You. But you could try one trick that has helped me a lot. Try this rule: line-height: ???px
??? = the height of your grey div.
overflow:hidden /*This is here just in case you have more than one row of text*/