Adding other <div>'s to index.php: white space?

I've successfully integrated Zenphoto into a website I'm building. No problems, EXCEPT when I add another non-ZP div to the index.php page, depending on the size of both the ZP <div> and my added <div>, I get strange blank space in the albums <div> ABOVE the first album <div>.

I had a look around the CSS code, but I don't find any styling for the albums <div>, which basically justs acts a container. Why is blank space being generated here?

Here's an example:

<div style="float:right; clear:none; width:22%; margin-right:10%;>
<h2>A headline</h2>Some content goes here, etc.</div>
<div id="main">
<div id="gallerytitle">
<h2><?php echo getGalleryTitle(); ?></h2></div>
<div id="albums">
<?php while (next_album()): ?>
<div class="album">
" title="View album: <?php echo getAlbumTitle();?>">
<?php printAlbumThumbImage(getAlbumTitle()); ?>


<div class="albumdesc">
<small><?php printAlbumDate("Date Taken: "); ?></small>
<h3>" title="View album: <?php echo getAlbumTitle();?>"><?php printAlbumTitle(); ?></h3>
<?php printAlbumDesc(); ?>
</div>

TIAA for your ideas!
Sign In or Register to comment.