RD2 Blog: Design and Coding News

I’ve been working at RD2 since July and we started a company blog shortly thereafter (which was my boss’ idea, though I readily agreed with him). I hadn’t mentioned the company blog here yet, only because I didn’t want to prematurely announce a blog with only a handful of entries. But, it’s now been going well for a few months now and I thought it would be worth sharing.

My coworkers and I have been adding entries on everything from css-based image rollovers to the pumpkin scones at Starbucks. Here’s a sample of some of the entries which I’ve written:

  • Image Replacement with CSS Based Rollovers — if you haven't dealt with non-rollover image replacement, it would probably make more sense to read the entry on regular image replacement first.

  • The Holy Grail of CSS Layout Techniques? — Through a combination of floated page sections (content, navigation and so on) and auto-float-clearing, you can selectively clear floats (and not just clear floats straight across the browser window). This is pretty nifty, well, for CSS developers :).

  • Hiding Text But Not From Screen Readers — You would think that you could just use display:none to hide text from visual browsers while letting it through for screen readers, but it doesn't quite work out that way. Fortunately, there’s a way around that.

  • Back to the Firefox Trunk Builds! — The Firefox 1.0 release was based off the Firefox “branch” while development on the rendering engine continued on the “trunk”. What does all this mean? Well, the Firefox trunk builds are good enough to use these days and they’re worth a try.

  • May as Well Set Floats to Display: inline — Floated elements are automatically set by the browser to display:block — or, that's what's supposed to happen, anyway. In IE, if you try applying a margin in the same direction of an element’s floating (such as margin-left on a float:left element), IE will double the margin! But, setting the floated element to display:inline can get around that.

So, I’ve generally written my more technically oriented entries at the RD2 blog while I’ve written much of my non-technical entries here. In some ways, it’s as if I have two blogs now, though I’m sharing the RD2 blog with the other people with whom I work ;).

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.