Firefox images getting extra space when in table cell
.header-image {display:block}
.header-image {display:block}
Ran into this error a couple of times before when adding content to a CCK email field in MySQL 5.0.27: user warning: Field 'field_email_email' doesn't have a default value query:
It seems the email field is initially set up to not allow null values. To fix this check out this patch or just update the field in phpMyAdmin: ALTER TABLE `table_name` CHANGE `field_email_email` `field_email_email` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL
Came across an interesting post when investigating some "n/a" text appearing in a CCK node field when not logged in. I was using the code echo content_format('field_description', $field_description[0]);
to safely format and output the description field. Not sure exactly why it happens but it turns out that there's no need to actually do it that way as CCK already provides a safe string of that field for outputting to the browser that is already formatted accordingly.
if ($type == 'block' && arg(0)=='node')
{
$node = node_load(arg(1));
$path = $node->path;
$args = array();
$args[0] = '';
if (!empty($path))
{
$args[0] = $path;
}
return $args;
}
%Y%m%d%H%M%S-__DB__
This will save your files in the following format: 20070815152612-databasename.sqltbody { border-top: 1px solid #ccc;}
I added this to my theme stylesheet:
tbody { border: none;}
Not sure if I'm missing something here, but this worked for me.