PDA

View Full Version : <div> help (not related to vbulletin)


Winterworks
01-31-2009, 11:29 AM
Okay, well, here's my stat.htm file...

<div class="table_headers" style="width:auto;margin-top:6px;" align="left">
<b>Board Statistics</b>
</div>

<div class="table_row_a" style="border-top:0px;padding:0px;;width:auto;" align="left">


<div class="stat_row_a" style="height:14px">
<span style="float:left">$general_online</span>
<span style="float:right">$online_users</span>
</div>
<table width="100%" cellspacing="0" cellpadding="3" border="0" style="">
<tr>
<td colspan="2"><div style="margin-left:7px;">$online_members</div></td>
</tr>
<tr>
<td colspan="2"><div style="margin-left:7px;">$usergroups_style</div></td>
</tr>
<tr style="background-color:#E8D7BE">
<td align="center" valign="middle" width="1%">$cake</td>
<td width="99%">
<div style="float:left">$birthdays</div>
</td>
</tr>
<tr>
<td colspan="2"><div style="margin-left:5px;padding:2px">Threads, Posts and Member Statistics:<br /><br /> Topics: $total_topics.<br />Posts: $total_posts.<br />Members: $total_members.
</div></td>
</tr>
</table>

</div>

And here's my footer.htm file...

<div style="height:14px;margin-top:10px;width:auto;color:#FFFFFF;background-image: url(themes/brown/ab_foot.gif);padding:5px;font-family:tahoma;font-size:8pt">
<span style="margin-left:10px;float:left;color:#FFFFFF"><b><a href="#">Return to Top</a><font color="black"> -
Admin Control Panel - Moderator Control Panel

</div>
</div>




</span></b></font>


<div style="margin-top:10px;width:auto;font-family:tahoma;font-size:8pt;line-height:13px;color:#333333" align="center">




</td>
</tr>
<tr><td align="center"><div style="width:790px;font-size:0px;height:0px;padding:0px"></div></td></tr>
</table>
</div>
<script type="text/javascript">
loadjs();
</script>
</body>
</html>

Now, on my website, (http://trasion.com/aliboard/) there's a space in between the footer and stat part... Why is this coming? Could someone help me? Is it to do with the <div>s?

Vaupell
01-31-2009, 01:55 PM
dont see a footer,
but i see a space between your main and stats marked with yellow
but no footer display ?

93747 :confused:

Winterworks
01-31-2009, 02:04 PM
Oh, sorry, fixed it now..

But now I have the problem that in the stats, it displays the code, instead of the actual number...