close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

DataAssist and Footer

Thread began 4/09/2012 9:34 am by Darren | Last modified 4/09/2012 1:28 pm by Jason Byrnes | 1159 views | 3 replies |

Darren

DataAssist and Footer

I have a basic webpage with 2 DIVs, main DIV for information and footer DIV put at end of template (as below). within the main DIV DataAssist is setup to create a long table but the footer is shown over the table and not at the bottom. example a table about 30 rows deep, the footer will show over row 5 and not after row 30

I am not looking for anything fancy like sticky footers, just for the footer to be at end of webpage.

tried some of the different setting for the position and not much movement of the footer


css footer and DIV
#apDiv3 {
position:absolute;
width:1340px;
height:163px;
z-index:2;
top: 142px;
left: 23px;
#footer {
position:absolute;
bottom:0px;
width:100%;
height:50px; /* Height of the footer */
background:#FFFFFF;
left: 23px;
z-index: 3;
}


Template
...
...
...
<div id="apDiv3">
<p><font size="5">Header 1</font></p>
<p style="margin-left: 20">&nbsp;</p>
<p style="margin-left: 20"><font size="5">Header 2</font></p>
<p style="margin-left: 20">&nbsp;</p>
</div>
<p style="margin-left: 20"></p>
<p style="margin-left: 20"></p>
<p style="margin-left: 20"></p>
<p align="center"><img border="0" src="../images/img.gif" width="260" height="202"></p>

<div id="footer">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" class="style3" align="center">FOOTER TEXT...FOOTER TEXT</td>
</tr>
</table>
</div>
</body>
</html>




Webpage using template
...
...
...
</div>
<?php } // Show if recordset not empty ?>
<?php if ($totalRows_WADAtlbproj == 0) { // Show if recordset empty ?>
<div class="WADANoResults">
<div class="WADANoResultsMessage">No results for your search</div>
<div> <a href="insert.php" title="Insert"><img border="0" name="Insert1" id="Insert1" alt="Insert" src="../../WA_DataAssist/images/Slate/Refined_insert.gif" /></a></div>
</div>
<?php } // Show if recordset empty ?>
</div>
</div>
<!-- InstanceEndEditable -->
<p style="margin-left: 20"></p>
<p style="margin-left: 20"></p>
<p style="margin-left: 20"></p>
<div id="footer">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" class="style3" align="center">FOOTER TEXT...FOOTER TEXT</td>
</tr>
</table>
</div>
</body>
<!-- InstanceEnd -->
</html>
<?php
mysql_free_result($WADAtlbproj);
?>

Sign in to reply to this post

Jason ByrnesWebAssist

you are using position:absolute; in the footer.

when you use position absolute, you need to also specify the top position to tell the browser where to put it.

using position absolute means that the div will be positioned to specific place on the page regardless of other elements positioning.

see this page for a description of absolute versus relative positioning:
aa061307.htm

Sign in to reply to this post

Darren

I've tried the other options (relative, static ect) and other settings (from google searches) and still seems to float over the table ?

its seems the page is drawn then the table

do you have any example pages with DataAssist tables with a footer

Sign in to reply to this post

Jason ByrnesWebAssist

in the DataAssist download center page, there is a download for the "SiteAssist and DataAssist: Solution Recipe Files" this contains a sample site assist layout that has a footer section to it.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...