 |
boardom b2 message board
|
View previous topic :: View next topic |
Author |
Message |
blanche
Joined: 02 Jan 2004 Posts: 4
|
Posted: Fri Jan 02, 2004 1:35 pm Post subject: Insert a line break after each entry |
|
|
I used (and modified) the template here and now one thing is driving me crazy. I can't get a line break after the entries, so there's nothing dividing the entries from each other.
Here's my code (there's a header and a footer included at the top and bottom, I just left them out)
Quote: |
<!-- // b2 loop start --> <?php while($row = mysql_fetch_object($result)) { start_b2(); ?>
<strong> <?php the_date("d.m.y"); ?>
<?php the_title(); ?>
</strong><br />
<?php the_content(); ?><?php link_pages("<br />Pages: ","<br />","number") ?>
<br />
<strong><a href="mailto:[email protected]"><?php the_author() ?></a></strong> cast her spell at <a href="<?php permalink_link() ?>"><?php the_time() ?></a>
<div class="rightFlush">
<?php link_pages("<br />Pages: ","<br />","number") ?>
<b><?php comments_popup_link("Comments (0)", "Comments (1)", "Comments (%)") ?> </b>
<?php include ("b2comments.php"); ?>
</div>
<!-- // this is just the end of the motor - don't touch that line either -->
<?php } ?>
|
|
|
Back to top |
|
 |
LiaLaToThSla
Joined: 02 Jan 2004 Posts: 8
|
Posted: Fri Jan 02, 2004 10:19 pm Post subject: |
|
|
Just open up B2 and whack a couple of line breaks at the end, like this:
Code: | <!-- // b2 loop start --> <?php while($row = mysql_fetch_object($result)) { start_b2(); ?>
<strong> <?php the_date("d.m.y"); ?>
<?php the_title(); ?>
</strong><br />
<?php the_content(); ?><?php link_pages("<br />Pages: ","<br />","number") ?>
<br />
<strong><a href="mailto:[email protected]"><?php the_author() ?></a></strong> cast her spell at <a href="<?php permalink_link() ?>"><?php the_time() ?></a>
<div class="rightFlush">
<?php link_pages("<br />Pages: ","<br />","number") ?>
<b><?php comments_popup_link("Comments (0)", "Comments (1)", "Comments (%)") ?> </b>
<?php include ("b2comments.php"); ?>
</div>
<!-- // this is just the end of the motor - don't touch that line either -->
<?php } ?><br /><br /> |
Repeat the line breaks as much as you need. |
|
Back to top |
|
 |
blanche
Joined: 02 Jan 2004 Posts: 4
|
Posted: Fri Jan 09, 2004 9:32 pm Post subject: |
|
|
it worked, but only visable in mozilla. For viewers accessing my site with IE they can't se the linebreaks and all of the posts are without any linebreaks at all. And I can't seem to add more than two linebreaks either. I mean, I can add them, but they only show as two anyway. No matter how many I put. |
|
Back to top |
|
 |
|
|
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
|