CSS XHTML

I've recently changed the submitted date on my blog posts and added a little CSS magic, thanks to Jonathan Snook's article on Text Rotation with CSS

Essentially it's a few lines of code, I didn't show the full CSS, there is a fair bit more to it than below. Feel free to Inspect Elements on my node teasers to see the inner workings.

This is an awesome trick for hiding your e-mail address e-mail harvesting bots.

HTML

<span class="fu-spammers">moc.elpmaxe@sirhc</span>

CSS

.fu-spammers {
direction: rtl;
unicode-bidi:bidi-override;

The result: moc.elpmaxe@sirhc

File extension handling

Add Drupal file types to the Extensions.txt file so Dreamweaver knows how to handle them:

Documents and Settings -> [user] -> Application Data -> Adobe Dreamweaver -> Configuration

Edit: Extensions.txt To the first line add MODULE, PROFILE, INFO:

HTM,HTML,SHTM,SHTML, ... ,TXT,PHP,PHP3,PHP4,PHP5,MODULE,PROFILE,INFO,JSP,WML,TPL, ... ,MASTER: All Documents

To the PHP Files line add MODULE,PROFILE,INC like so:

Firstly, the file may not be missing just hidden. If you're sure the file is missing or you're a Mac user then skip this step.

Your MMDocumentTypes.xml file should be in either of the following, depending on the version.

Attachment: 

PX to EM Calculator

Great tool for converting pixels to ems, with nested elements possible.

http://riddle.pl/emcalc/

Syndicate content