www.vintage-adventures.com
From what I've read about CSS, vertical centering of text can be a little tricky. The purpose of this thread is to discuss a solution that allows the tagline text area to 'grow' and 'shrink' if a shopper has a big Zoom or Text Size set in the browser (see my site and try it). This would be similiar to how the very, very bottom of the page grows for the copyright text if a big Zoom or Text Size is set in the browser.
If you look at the text next to my logo in the header, I would like to vertically center this text in the tagline div tag (or in the taglineWrapper div tag) rather than using a little top padding as I have been doing, so that when this div expands, the logo will remain vertically centered, and the text will vertically center on the logo. And then, when the browser setting is normal, the text will simply vertically center on the logo.
I imagine I would also want/need to remove the current 90px height for the logo wrapper, if doing so is necessary for the growing and shrinking. I could set padding on the logo itself to maintain 5px on each side for normal browser viewing.
Does anyone know the simple css properties and values for achieving this? It's just a matter of a couple of div tags remaining vertically centered, w/ a parent div able to expand to accommodate the text as screen resolution and/or browser zoom/text size cause it to expand.
***alternately*** could/should the header be coded, instead, to force horizontal scroll, if needed for large browser Zoom or Text Size?
Thanks...



