November 12th, 2012, 04:22 AM
CSS Logo Aligning
I'm having some trouble getting my to vertically align to the middle of my nav bar. Currently it seems to demand being top aligned. If anyone can give me some help it would be much appreciated!
November 13th, 2012, 12:34 AM
Welcome to DevShed Forums, tksforlife.
Did you find a solution? It looks like you're now using the large line-height vertical centering trick.
November 13th, 2012, 01:53 AM
No, the height of the image is set to 75 and the height of the div is 80. If I change the image to a smaller size I rises to the top of the div.
November 13th, 2012, 03:50 AM
1. Remove your logo out of your UL and style it separately
2. Keep as is and create a class for your li that holds the logo and apply padding-top to the amount you need to push the logo down from the top
November 14th, 2012, 02:29 AM