CSS XHTML

CKEditor Skin

CKEditor default skins are fugly, up until now I've been using the Office2003 skin due to lack of available skins for ckeditor that don't look like puke, I've started on my own. Not all parts are themed, just the functions I use. Icons are Famfamfam silk and base skin is Office2003 from ckeditor. I've tried to keep it simple, colourless and plain. I plan to update the skin as i discover bugs and or require new features. Please send comments or contact me if you have any suggestions, etc.

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