7 Cool Online Tools for Web Dev

Favicon maker:
http://favikon.com/

Stripe generator:
http://www.stripegenerator.com/

Vector image from photo:
https://www.profilepicasso.com

Vector from bitmap:
http://vectormagic.stanford.edu/

Button generator:
http://www.mycoolbutton.com/

Loading gif creator:
http://www.ajaxload.info/

Icons:
http://www.iconarchive.com/

Free online animated gif creator:
http://picasion.com/

You suck at photoshop
http://laughingsquid.com/you-suck-at-photoshop-by-donnie-hoyle/

WordPress editor removes div tags

How to fix:

Option 1: Disable WYSIWYG editor for user

In WordPress admin panel, go to “Users” tab and uncheck “Use the visual editor when writing” box.

Option 2: go inside the code and fix it

Find file wp-includes/js/tinymce/tiny_mce_config.php and change this line:

$valid_elements = 'p/-div[*],-strong/-b[*],-em/-i[*],-font[*],-ul[*],-ol[*],-li[*],*[*]';

to this:

$valid_elements = '-strong/-b[*],-em/-i[*],-font[*],-ul[*],-ol[*],-li[*],*[*]';

EDIT: Apparently it doesn’t work for version 2.3.x, so here’s the fix for that:

change

‘p/-div[*]

to

‘p[*],-div[*]

Margins between images in Hotmail emails

Well… i have to confess sometimes i do email coding at my new job. Not so much coding as debugging it. Yes, we use HTML tables, circa 1999. You just have to, no other choice with flimsy CSS support. And the most annoying email clients are Gmail (sometimes), Outlook 07 and Hotmail. Hotmail being the WORST ever. People, if you still use Hotmail i urge you to switch to either Gmail or Yahoo. Stop being so lame!

If you code email with images, you will see that Hotmail inserts white spacing in between table rows. I found this solution which worked like a charm for me:

for each image put style=”display:block;” Yes, as simple as that. Gets rid of spacing.