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 

NEED HELP WITH TEMPLATE. SIMPLE QUESTION.

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



Joined: 25 Jul 2003
Posts: 23

PostPosted: Thu Jun 17, 2004 11:35 pm    Post subject: NEED HELP WITH TEMPLATE. SIMPLE QUESTION. Reply with quote

Pardon the caps. Need the attention. Very Happy My blog is: http://meph.kaychanne.net/

As you can see, there are problems with the separation of the entries in each table. How do I fix this? Here is my code for the entries area btw.

Code:

<DIV STYLE="position:absolute;right:10;top:270">
<div id="blog"><p>
<TABLE CLASS="table" DIR="ltr" CELLPADDING="5" CELLSPACING="2" BORDER="0" WIDTH="380" STYLE="border: 1pt solid #000000">
<TR><TD CLASS="head" STYLE="border: 1pt solid #000000" bgcolor="#F7A1B4"><font face="Arial" size="2">

<div id="entries">

<!-- // b2 loop start -->
   <?php while($row = mysql_fetch_object($result)) { start_b2(); ?>

<center><?php permalink_anchor(); ?><b>[<?php the_ID() ?>] <?php the_date("m.d.y"); ?></b> .{{ <i><?php the_title("","",""); ?></i></div></center></td></tr>

<TR><TD CLASS="head" STYLE="border: 1pt solid #000000" bgcolor="#D7667F"><p style="letter-spacing : -1px;" align="justify"><font face="Tahoma" size="-1">

<p><?php the_content(); ?></p>
</td></tr>

<TR><TD CLASS="head" STYLE="border: 1pt solid #000000" bgcolor="#F7A1B4"><font face="Arial" size="2">
<center><?php link_pages("<br />Pages: ","<br />","number") ?> 
<b><i><?php the_time() ?></i>  .{{</b>  <?php comments_popup_link("Tasty", "One tasted me", "% got more milkshake") ?></font></center></div>

<?php trackback_rdf() ?>

<!-- this includes the comments and a form to add a new comment -->
<?php include ("b2comments.php"); ?>



<!-- // this is just the end of the motor - don't touch that line either :) -->
   <?php } ?>
</td></tr></table></div><br>




I just want to fix the spacing between the entries/tables.
Back to top
View user's profile Send private message Visit poster's website AIM Address
Chris022088



Joined: 16 Jun 2004
Posts: 7

PostPosted: Fri Jun 18, 2004 4:56 am    Post subject: Reply with quote

Hey!

Ok first of all You should keep the
Quote:
</td></tr></table></div>
tag at the bottom within the
Quote:
<!-- // this is just the end of the motor - don't touch that line either Smile -->


Then After That Put
Quote:
<br><br>
this will seperate the entires to spaces

Hoped I helped
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
brandy



Joined: 11 Dec 2003
Posts: 8
Location: MI

PostPosted: Fri Oct 15, 2004 9:04 pm    Post subject: Reply with quote

I'm having the same problem, except my code is different.

Code:
<?php /* Don't remove this line, it calls the b2 function files ! */ $blog=1; include ("blog.header.php"); ?>
<html>
<head>
<style type="text/css">
<!--
body {
scrollbar-face-color:#757D88;
scrollbar-shadow-color:#4C5158;
scrollbar-highlight-color:#FFFFFF;
scrollbar-3dlight-color:#4C5158;
scrollbar-darkshadow-color:#FFFFFF;
scrollbar-darkshadow-color:#B5B5B5;
scrollbar-track-color:#757D88;
scrollbar-arrow-color:#757D88;
}
-->

<!--
A:link {color:#A2A7AE; text-decoration: none; cursor:help;}
A:visited {color:#A2A7AE; text-decoration: none; cursor:help;}
A:active {color:#A2A7AE; text-decoration: none; cursor:help;}
A:hover {color:#A2A7AE; text-decoration: underline; cursor:help;}
-->

<!--
body,tr,td, h6, p, li
{font-size: 8pt;
font-family: arial;
color:#000000;
line-height:11px;
letter-spacing:0pt;
text-align: justify;
font-weight:normal;}
-->

<!--
BODY
{
background-color:#757D88;}
-->

<!--
input, textarea
{color:#000000;
background:#A2A7AE;
font-size: 8pt;
font-weight: normal;
text-decoration: none;
font-family: arial;
text-align: left;
border-width: 1px;
border-style: solid;
border-color:#4C5158;
filter: alpha(opacity=100)}
 -->}
</style>
</head>
<body>


<?php while($row = mysql_fetch_object($result)) { start_b2(); ?>

<div class="datetime">
<b>__<?php the_time("d F Y"); ?></b><br />
<?php the_time("g:iA"); ?></div><br />

<?php the_content(); ?><br /><br />

<b>&</b> <a href="mailto:[email protected]">Brandy</a> 
<a href="<?php comments_link() ?>"><?php comments_number('0','1','%') ?></a>
<?php comments_number('CMNTS','CMNT','CMNTS') ?> <b>;</b> 
<a href="<?php comments_link() ?>"><?php comments_number('x','x','x') ?></a>

<?php include ("b2comments.php"); ?>
<?php } ?>
</body>
</html>

_________________
& brandy

[caomh]
Back to top
View user's profile Send private message Visit poster's website AIM Address
Sigg3



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

PostPosted: Sat Oct 16, 2004 3:37 pm    Post subject: Reply with quote

Just insert a couple of breaks before:
Code:
<?php include ("b2comments.php"); ?>
<?php } ?>


Did I get your problem all wrong, or was it that simple?
_________________
Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
brandy



Joined: 11 Dec 2003
Posts: 8
Location: MI

PostPosted: Tue Oct 19, 2004 5:49 pm    Post subject: Reply with quote

Sigg3 wrote:
Just insert a couple of breaks before:
Code:
<?php include ("b2comments.php"); ?>
<?php } ?>


Did I get your problem all wrong, or was it that simple?


No, it really was that simple. I feel like a dork, but thank you. Very Happy
_________________
& brandy

[caomh]
Back to top
View user's profile Send private message Visit poster's website AIM Address
Sigg3



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

PostPosted: Tue Oct 19, 2004 7:51 pm    Post subject: Reply with quote

No problem:)

I'd just like to urge you to be bold.
Make a backup of a file before you change anything in it, and if it doesn't work go back one step:)
_________________
Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center
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