It’s been quiet around here lately due to struggling with a helluva cold for the past 2 weeks all while the deadline for my major work project loomed closer. There were times where I would be up working on it at 4am because if I can’t sleep from trying to cough up a lung, I might as well do something useful right?
Anyways, the major project is a complete site redesign that I designed and coded all by myself, and then another coworker and I moved over about 2000 pages worth of content to the new templates. It’s been a lot of work but the end is in sight; it’s due to launch next week.
While I was creating the design, I came across a curious problem. I had a
.button class which was just a link styled all prettily to look more like a button. Normally it had the property
display:inline-block which gave it block-like properties yet still flowed inline with the rest of the content. So the width and height would grow or shrink depending on the text within it.