Large Gap on Result Pages
I am getting a large gap on my results page, exactly as described on this thread;
showthread.php?t=2778&highlight=large
I just wondered if you had a solution.
Many Thanks
I am getting a large gap on my results page, exactly as described on this thread;
showthread.php?t=2778&highlight=large
I just wondered if you had a solution.
Many Thanks
What you're seeing there relates to the <div class="WADAResults"> tag width just before your <?php do ?> statement, and the available width on your page in the [content] area, which is less than the space required to display the data in your resulting recordset (name, company, email and icons). This is all defined in your SiteAssist CSS...
Thus, forcing most browsers to display it with this huge amount of empty space... Notice where the results table starts? It starts just after your right hand navigation finishes...
A way that I've found to fix this is to place the entire result <div class="WADAResults"> inside its own <TABLE> outside your CSS (you'll have to hand code this)...
It might look something like this...
<table width="450">
<tr>
<td>
<div class="WADAResults">
<table>
<?php do { ?>
<tr>
<td class="WADAResultsTableCell"><?php echo $row_WADARecordset1['Name']; ?></td>
<td class="WADAResultsTableCell"><?php echo $row_WADARecordset1['Company']; ?></td>
<td class="WADAResultsTableCell"><?php echo $row_WADARecordset1['Email']; ?></td>
<td class="WADAResultsTableCell">ICONS GO HERE</td>
</tr>
<?php } while ($row_WADARecordset1 = mysql_fetch_assoc($WADARecordset1)); ?>
</table>
</div>
</td>
</tr>
</table>
Start off by forcing the new table to be 450 in width. Play with the width a bit until you get the display your looking for... It might be a little more, or a little less than 450, but it should be ok in that range I think.
:)
Thaaaaaaaaaannnnnnnks a million Tom, that works perfectly.
God Bless :)
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.