To anyone out there reading up on clearing, this is the best method: http://www.positioniseverything.net/easyclearing.html It’s totally cross-browser compatible, doesn’t leave any messy markup and leaves the code fully accessible. It does however have 1 flaw… Scroll down to the part about the IE/Mac problem and you’ll see the fix involves adding a display: inline-block to the container block, which is then re-instated to a display: block in the IE stylesheet. The problem is that inline-block also affects all the other …
Archive
Accessible font sizes
A quick note to developers that are styling elements that use monospace fonts (pre, code, q, etc). Be aware that some browsers, like Safari and Chrome, have their own fixed-width font size preference, which by default is set to 13px. This upsets proceedings when you apply a proportional (% or em) font-size to the body. There are three solutions to counter this problem: Apply font-size to each element separately Remove monospace from the font stack and treat it as a …
Consilience Mulled Wine
To get into the Christmas spirit – or perhaps as an excuse to get out the Christmas spirits – we are keeping a pan of hot mulled wine on the go leading up to Christmas. Here is our recipe. If you have any variations on this or any tips on how to improve it further (if perfection can be improved) please add your comments. Ingredients Six cloves Two cinnamon sticks (about 6 inches of stick in total) Quarter of a …
Cookie Pass-through (ASP)
As a part of my integration tasks, I had the following sequence of systems to deal with: This is the chain of applications that handle a single-signin for a user. At one end we have the Member Management system, written in ASP Classic, that acts as the main authentication system. For various reasons we had to use that system as the main login system. Once a user logs in, a HTTP request is sent to the Xaraya CMS, along with user …