You know those desk calendars where you tear off a page for each day of the year? Typically, each day comes with a little nugget of useless info to start your day. Someone should create one based on CSS bugs, where each day talks about a different bug and its workaround. Perhaps even more nerdy than the “365 Days of Dragons, Merlins and Magical Stones” that I’ve been meaning to covertly purchase.
Until then, perhaps I’ll start posting reminders here as I rediscover old favorites. While there are some bugs that we run into every day, immediately knowing their remedies, there are others that pop up here and there, only to be looked up again and again to be reminded of their workarounds. It never hurts to publicize these suckers now and again.
Today’s bug is the IE Doubled Float-Margin Bug: When floating a block-level element and adding a
margin on the same side as the
float direction, IE/Win can double the
margin width that is specified. Luckily, there is a simple workaround offered (at Position is Everything, of course).
Are there enough CSS bugs to fill a 365-day calendar? Probably.