giImageBlock-clear-both

BassPlaya - August 14, 2007 - 11:43

I'm working with Drupal 4.7.6 using wireframe theme with the Gallery module installed and linked to Gallery2.
I would like to know what this "giImageBlock-clear-both" does and why it is there.
It is preventing me from styling correctly since it puts a BR tag in my "blocks" at the bottom of all the rest in the block. Not all blocks ... only the ones that have "Full HTML" enabled.
I've found through searching this forum some clues but none are really taking the pain away. (btw, this is a gallery module problem as far as I know since I cannot find any post on this on Google and the Gallery2 forum/GalleryEmbedded forum).

I've seen that there have been some post here but they don't provide the solution to the problem, they do point in a good direction to get it solved but I still struggle:
http://drupal.org/node/76356
http://drupal.org/node/97910?destination=node%2F97910

I was thinking that this could be the reason for my strange layout problem that is that it shifts all content back to the bottom (in a 3 column design with a header, middle column is the content) as well as in IE6 as in FF or Safari and mostly in the "edit mode" of a page. But I might be wrong and should post this in another topic but if anyone has similar experiences with this, please provide a link.

gImageBlock-clear-both

pbarnett - August 14, 2007 - 21:05

Hi.

Personally, I'd try changing return $text . "<br class=\"giImageBlock-clear-both\" />";to return $text; in the the gallery_filter module file... if that fixes it, you could look at maybe finding a w3ay to override the function rather than hacking on the module. But hey, if it fixes the problem, it's a step in the right direction!

Pete.

a way around but not the best there is:

BassPlaya - August 17, 2007 - 06:25

I just put everything in php code in the blocks and it won't show up anymore... that's actually quite strange... I'll be looking into this further..

 
 

Drupal is a registered trademark of Dries Buytaert.