i don't know why but on my page, the vertical align which is defined on the acidfree.css does not work on my galleries.
check for example;
http://www.hecatomber.org/albumler/konulu_albumler/soulclipse_2006_turkiye
the align is on top as seen. but it should be "middle" as defined on the css. i don't understand what's wrong. also check the random image on the left bar. it's the same. (there was nothing wrong in the previous acidfree version)
Comments
Comment #1
korayal commentedwell i don't get it, i rechecked on firefox and it looks alright.
but then i check it on maxthon and internet explorer, it's not...
Comment #2
korayal commentednope, i looked carefully :)
on ie and maxthon it aligns on top,
on firefox, it aligns on bottom.
Comment #3
vhmauery commentedYes, I know the default theme is fragile. I am not a CSS guru, so somebody else is going to have to fix this one. I am also open to a newer different default theme if somebody can help me out.
But I am not going to fix your theme. The acidfree default theme works in firefox with the default drupal theme (and most others for that matter). It's not that I don't care -- it's that I just don't have the knowledge or time to fix it. Good luck. Maybe you can find some help in the Drupal forums.
Comment #4
korayal commentedaccording to this web page, vertical aligning is not possible on box elements like "div"
http://css-discuss.incutio.com/?page=VerticalAlign
but i don't get it how it's working on previous versions :)
Comment #5
korayal commentedsolved the problem by using the trick on that page;
acidfree.css : line 105
acidfree.css : line 127
class_photo.inc : line 207
class_album.inc : line 252
Here is the result;
http://www.hecatomber.org/albumler/giris
For image thumbnails check the left bar, and for the album, you know where to check :)
Comment #6
korayal commentedComment #7
(not verified) commentedComment #8
fotios commentedone can also fix this by just changing a couple of lines in function "theme_acidfree_print_thumb_album" in class_abum.inc. Here is my version of the function:
function theme_acidfree_print_thumb_album(&$node) {
$album_link = "node/{$node->nid}";
$image = _acidfree_get_thumb_url($node);
if ($image != '') {
$image = l(theme('image', $image, $node->title, $node->title,
array(
'class'=>'album-thumb',
'id'=>"acidfree-thumb{$node->nid}"),
false),
$album_link, array(), NULL, NULL, true, true);
}
$size = variable_get('acidfree_thumb_dim', IMAGE_THUMB_SIZE) + 40;
$output .= "
$output .= "
// XXX: this empty span is to make IE render vertical alignment correctly
$output .= "
\n";
$output .= $image;
$output .= '
//$output .= '
$output .= "
\n";
return $output;
}