boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

tables?

 
Post new topic   Reply to topic    boardom Forum Index -> Template help
View previous topic :: View next topic  
Author Message
yoannah



Joined: 24 Jan 2004
Posts: 2
Location: Sweden

PostPosted: Sat Jan 24, 2004 3:40 pm    Post subject: tables? Reply with quote

Could somebody please tell me where to put the table tags if I want it to look something like this;

________________________________________________
2004.01.24 - blog title
________________________________________________
________________________________________________
blahblahblahblahblahblahblahblahblahblahblahblahblahblah
blahblahblahblahblahblahblahblahblahblahblahblahblahblah
blahblahblahblahblahblahblahblahblahblahblahblahblahblah
________________________________________________
________________________________________________
Yoannah posted @ 15:39 PM (comments)
________________________________________________


Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Sigg3



Joined: 03 Jul 2003
Posts: 885
Location: Oslo, Norway

PostPosted: Mon Jan 26, 2004 5:11 pm    Post subject: on tables Reply with quote

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..
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Template help All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group