Archive for May, 2008

 

Gambling for a living

Yesterday my girlfriend and I got into an argument because I mentioned that I could make a career out of playing Poker. This happened during one of my extreme fiend-sessions, which I am still in now. But first off, let me try to explain something. Even though I used the title “Gambling for a living”, [...]

How to fix strange characters in MySQL database

So, as a result of bad programming, my database got FILLED with strange characters like this: ’ … – “ †‘ These characters are representations of double quotes, single quotes, triple dots, etc… in different encoding formats. I read that his happens when you copy lines from programs like Word, Wordpad, etc… It has [...]

CSS: Overflow hidden helps clear float elements

This is something I should have known a long time ago, had I actually read a CSS book. But here is what I learned today. If you have two floated blocks sitting next to each other, and you want to be able to use a “clear” INSIDE one element, without having it also clear the [...]