Hiding email address with CSS
If you like this post, please subscribe to our RSS feed to read our new posts every day.
Hiding email address with CSS: This is cool, one of those “I should have thought of that” kind of things. Hide your real email address using a simple CSS trick. Thanks Anne
Visitors who read this post, also read:
Related posts from the past
- Validate email regular expression bug in WordPress and other CMSs
- Subscribe to Post via email call for beta testers
- SprintPCS Moblog hack for WordPress 1.0 and above
- Wordpress Plugin Competition Update #4
- Spam words bug
- GMail, POP and SPAM
- Reminder for Wordpress Plugin Competition Winners
- Spam control out of control!!
- WP Password Reset
- Free 500MB web account for 3 years













Comments RSS
Yes, but couldn’t a spambot simply load the CSS file and scan it like it scan’s regular HTML pages?
I suspect that they don’t yet, but CSS is readable by looking at the HTML to see where the CSS is included from.
Just a thought…
[Reply]
Dave M. (2 comments.) — 03/1/2005 @ 6:54 pm[...] | Cutting Edge CSS — hiding email addresses from harvesters with simple CSS trick. (via) This entry was posted [...]
fotonLinklog » Blog Archive » Stu Nicholls | Cutting Edge CSS — 03/1/2005 @ 6:54 pmAlso this is not copy-and-pastable.
[Reply]
Sunny (1 comments.) — 03/1/2005 @ 8:12 pmI do not mean to link-spam you, but I made a post about a PHP function that obfuscates email addresses twice — the characters are converted into entities, and then the address gets reversed through this CSS method. The Double Dutch of Email Obfuscation, so to speak.
[Reply]
Mathias Bynens (5 comments.) — 03/2/2005 @ 7:34 am[...] al drive. Hide email. Nifty! Hiding email addresses via css. via Weblog Tools Collection This entry [...]
atog » Blog Archive » Hide email. — 03/2/2005 @ 10:42 amUnfortunately, not only e-mail harvesters will have a problem with this trick - it displays nonsense in Mac OS X’s Safari web browser. Not recommended.
[Reply]
John Keys (1 comments.) — 03/2/2005 @ 11:39 pmI tested the method in my link in a few browsers, including Safari. It uses CSS to shrink a generated random-text logo down to resemble normal text.
[Reply]
Mardeg (1 comments.) — 11/3/2005 @ 11:59 pmI usually hide the email with javascript. Works pretty fine.
Regards
Grez
[Reply]
Grez — 01/8/2008 @ 6:49 pmThere’s almost no point in putting much effort in hiding your email address. As Grez pointed, javascript will do the trick easily, however a good antispam is a must. Graylisting is a very handy solution to huge amount of spam traffic.
Thanks,
Niranjan
[Reply]
Niranjan (1 comments.) — 03/12/2008 @ 1:41 am