Archive for » March 10th, 2009«

Understanding vertical-align, or “How (Not) To Vertically Center Content”

I found this article this morning while trying to (simple as it sounds), vertically center the badge images within their div on the right-hand column of this blog. Turns out that the words would be a much much better place [sigh] if we could only trust CSS and render it appropriately and correctly across all browsers. [/sigh] From: Understanding vertical-align, or “How (Not) To Vertically Center Content” A FAQ on various IRC channels I help out on is How do I vertically center my stuff inside this area? This question is often followed by I’m using vertical-align:middle but it’s not working! The problem here is three-fold: HTML layout traditionally was not designed to specify vertical behavior. By its very nature, it scales width-wise, and the content flows to an appropriate height based on the available width. Traditionally, horizontal sizing and layout is easy; vertical sizing and layout was derived from that. The reason vertical-align:middle isn’t doing what is desired want is because the author doesn’t understand what it’s supposed to do, but … … this is because the CSS specification really screwed this one up (in my opinion)—vertical-align is used to specify two completely different behaviors depending on where it is [ ... ]
Category: Technology  Tags:  Leave a Comment

Trying Out MarsEdit

I am testing out Mars Edit to blog with. Instead of waiting on my server, this lets me compose from a nice and slim OSX app. I really like it so far – especially the Flickr integration and great big drop zone for uploading photos (not sure if it will do that over FTP as it didn’t ask for ftp info, just a Blog Author which makes me think it probably will upload over the blog’s API connection – cool!). I have thrown in a couple images and gotta say, as I write this gets easier and more exciting. As a web author, I dig that I can just code html on the fly in this composition window while seeing a live preview of my completed work (sans a lot of CSS styling, but that’s assumed and actually – part of the fun is the anticipation of waiting for the post to publish and have that pretty veiner that magazine writers no doubt feel upon seeing their work in print). Yeah, I feel that I am sold [ ... ]
Category: Site News, Technology  Tags: ,  One Comment