Custom templates and a suggestion regarding layout
Permalink Browser Info Environment
While i was creating some custom templates to tweak the gallery's look to fit my needs, a small suggestion to avoid design issues came into my mind.
Please take a look at the view.php:
there is the main container <div class="deluxe_image_gallery_container">.
All divs inside (class="deluxe_image_gallery_image"), containing the thumbnails, are floating left, but there is no final clearing element.
So i think, it would be useful to add something like
<div style="clear:both;"><!-- --></div>
before the closing </div> of <div class="deluxe_image_gallery_container">.
This would make sure that the gallery respects height / padding of parent containers and therefore should integrate more smoothly into all page layouts.
Michael
Please take a look at the view.php:
there is the main container <div class="deluxe_image_gallery_container">.
All divs inside (class="deluxe_image_gallery_image"), containing the thumbnails, are floating left, but there is no final clearing element.
So i think, it would be useful to add something like
<div style="clear:both;"><!-- --></div>
before the closing </div> of <div class="deluxe_image_gallery_container">.
This would make sure that the gallery respects height / padding of parent containers and therefore should integrate more smoothly into all page layouts.
Michael
Type: | Discussion |
---|---|
Status: | New |
Thanks.
-Jordan