mm, I wish the second part was as easy as the first! I looked at the bottom of the visualindex.php and saw this:
"#img-container { {$grid} }
#img-container #text { float: left; width: " . ($this->text_width + $this->text_padding_right) . "px; }
#img-container #text p { width: " . $this->text_width . "px; }
#img-container .picture_holder { float: left; }
#img-container .picture { position: relative;{$align} }
#img-container .picture { {$picture_width}{$picture_height} }
#img-container .picture_holder { padding: 0 0 0 0; }
#img-container .captioning { height: {$title_block}px; text-align: center;{$caption_width} }
#img-container .captioning .title { margin-top: 3px; text-align: {$talign}; }";
}
}
I feel the answer is in there, but are not as advanced as I wish. I will the code is already written for this somewhere.