Wegens werkzaamheden van de hosting provider.
Month: July 2012
CSS use EM as a relative font-size, instead of PX
It goes back to Internet Explorer 3.0, but EMs are still the better way to define font-sizes. It takes a small learning curve to get the hang of it, but when it comes to quick changes in overall font-size, this is the way to go. Default font-size for most common browsers is 16 pixels. There are only three articles you need to read to tame that size with relative ems.
1em = 12pt = 16px = 100%
Useful reads
- More fun with font sizes (Meyer, 1999)
- How to size text using ems (Clagnut, 2004)
- Care with font size (W3 schools, 2009)
The EM formula
Child pixels / Parent pixels = Size in EM
Not good at calculating? Use the EM calculator
Still targeting Internet Explorer 6?
While Internet Explorer handles EM, it does so only when the base font is set to a percentage!
body { font-size: 62.5%; } body wrapper { font-size: 1em; }
Remove ‘thepinktheme.org’ / ‘rozekleur.com’ from your wordpress blog?
So you’ve been breaking your head why multiple posts on your blog contain a hidden (javascript) link to the domain www.thepinktheme.org?
Example:
<script type="text/javascript" src="http://thepinktheme.info/dfi823hs.js?0.048378094101036107"></script>
You removed all references in your database, and searched your entire wordpress installation, themes and plugins for infected files? Even searched for PHP eval(); functions etc…
And still it’s returning? Look no further, here’s the solution. You or one of the people who has been using your computer, or who has access to your blog and post rights, installed an extension in Mozilla Firefox called ‘pink theme’ (‘roze kleur thema’). It got installed by clicking on malicious Facebook posts.
This extension is adding url’s linking back to the pinktheme.org (and other associated) domains when you add new posts on WordPress.
Remove the extension in Firefox. Remove all references in your WordPress database and start hunting down that user who’s been clicking on obscure Facebook links.
Getting started with Adobe Lightroom 4
Here’s a crash course into Lightroom 4: two youtube video’s and a few of my own tips.
Importing images
All the other ‘features’ explained briefly
My tips
One of my favorite features is the vigneting lens correction.