View previous topic :: View next topic |
Author |
Message |
Kaychanne
Joined: 25 Jul 2003 Posts: 23
|
Posted: Thu Jun 17, 2004 11:35 pm Post subject: NEED HELP WITH TEMPLATE. SIMPLE QUESTION. |
|
|
Pardon the caps. Need the attention. 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 |
|
 |
Chris022088
Joined: 16 Jun 2004 Posts: 7
|
Posted: Fri Jun 18, 2004 4:56 am Post subject: |
|
|
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 -->
|
Then After That Put this will seperate the entires to spaces
Hoped I helped |
|
Back to top |
|
 |
brandy
Joined: 11 Dec 2003 Posts: 8 Location: MI
|
Posted: Fri Oct 15, 2004 9:04 pm Post subject: |
|
|
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 |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 906 Location: Oslo, Norway
|
|
Back to top |
|
 |
brandy
Joined: 11 Dec 2003 Posts: 8 Location: MI
|
Posted: Tue Oct 19, 2004 5:49 pm Post subject: |
|
|
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.  _________________ & brandy
[caomh] |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 906 Location: Oslo, Norway
|
|
Back to top |
|
 |
|