Category Archives: CSS

When PNG color doesn’t match hex color in IE, smush.it!

I built a site for my cousin’s business. We used PNGs for some of the background images and it looked gorgeous (at least to me). Then one day she asked me why her site had those weird rectangles. I had … Continue reading

Posted in CSS, Images, Webmastering | Leave a comment

Input field and submit button on the same line, full width

For a mobile search, I wanted an input field next to a button. I wanted the button to fall to its natural width, and I wanted the input field to be 100% of the remaining width on the line. It’s … Continue reading

Posted in CSS, Mobile, UI programming | 5 Comments

How to Format Spoilers

As a film critic and a UI programmer, I’ve long thought about the perfect way to format spoilers. (A spoiler is some part of a movie review that gives away a secret or a surprise.) In print, critics give a … Continue reading

Posted in CSS, Information Architecture, UI programming, Web programming | Tagged | Leave a comment