I recently learned an excellent general rule for CSS. Anytime you float anything, you should also apply a display:inline style rule on it as well. This fixes the double-margin bug in Internet Explorer and it has no effect on other browsers.
Leave a comment
Who's this guy?
Aaron Longwell is Chief Web Craftsman at
New Media Logic Corporation in
Coeur d' Alene, Idaho. As a professional software developer for 12 years
and a student of public policy, he occasionally has interesting
things to say about software, technology, culture and politics.
Leave a comment