CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
CSS Combat
vertical-align:middle; not working in Firefox!
SamuelCBird
Permalink to comment
#
June 2012
http://sam2.freezeframedesign.com/random/
It works on Chrome well, and on Safari. Unfortunately I've not been able to look at it on IE, so I don't know.
But the vertical-align:middle; doesn't work at all on Firefox. Any ideas as to why?
Thanks,
SamuelCBird
Meta_Ing
Permalink to comment
#
June 2012
Try using
position:relative
rather than absolute on .container
SamuelCBird
Permalink to comment
#
June 2012
Of course! How did I look past that so many times..
Thanks very much Meta_Ing, that was really getting to me!
Samuel
Add a Comment
It works on Chrome well, and on Safari. Unfortunately I've not been able to look at it on IE, so I don't know.
But the vertical-align:middle; doesn't work at all on Firefox. Any ideas as to why?
Thanks,
SamuelCBird
Thanks very much Meta_Ing, that was really getting to me!
Samuel