Sigg3
Joined: 03 Jul 2003 Posts: 885 Location: Oslo, Norway
|
Posted: Mon Jan 26, 2004 5:11 pm Post subject: on tables |
|
|
I must say that I've never tried this, but I would try something like this (using my "customized" setup);
Code: | <table border=0 cellspacing=0 etc. etc. etc.>
<!-- // b2 loop start -->
<tr>
<td align=direction valign=top style="if you have one">
<?php while($row = mysql_fetch_object($result)) { start_b2(); ?>
<?php the_date("l, F jS Y","<h1>","</h1>"); ?>
<?php permalink_anchor(); ?>
<h2><?php the_title(); ?></h2>
<div class="post">
<?php the_content(); ?><?php link_pages("<br />Pages: ","<br />","number") ?> </div>
<span class="byline">post number <?php the_author_posts() ?> by <strong><?php the_author() ?></strong> @ <a href="<?php permalink_link() ?>"><?php the_time() ?></a> | category: <?php the_category() ?> | <?php comments_popup_link("any comments?", "a single comment", "% comments!") ?></span>
<br /><br /><br /><br />
</td>
</tr>
<!-- // this is just the end of the motor - don't touch that line either :) --> <?php } ?>
</table> |
If it works, it would have a "permanent" table, and every time you updated with a new post, a new: Code: | <tr>
<td>post here</td>
</tr> | would be added. This could get messy, and as I said, I've never tried it. Worth a try, though.
EDIT 27th of July 04:
This could be done by proper CSS use and <div> block elements or <span> inline elements. I'm working on an identical template for my webpage at
http://www.sigg3.net/b5.php [testing the z-index and absolute positioning]
http://www.sigg3.net/css-index.php [adapting the "real" index to extensive css use]
and the "real" index: http://www.sigg3.net/index.php
reducing the size of the user's load considerably. I'm still working on it tho, so don't expect to see so much.. |
|