CSS

Firefox images getting extra space when in table cell

Submitted by charles on
Disclaimer: OK - so I know I shouldn't be using tables, but sometimes, I just have to. Was trying to figure out this extra space around an image that was sitting in a table cell. Came across this article which explains why. It's to do with using a strict doctype, and the fact that the images are by default inline which display on top of the baseline. Quick fix for me was to apply the following style to the offending images: .header-image {display:block}

Change TinyMCE background colour in drupal from grey to white

Submitted by charles on
Found that by default the background colour for tinymce textareas was grey with my newest drupal 5 installation. Found this node which shows which style to add to your stylesheet to change the background colour to white. Add the following to your theme's style.css: body.mceContentBody { background: #fff; color: #000; }