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 

Insert a line break after each entry

 
Post new topic   Reply to topic    boardom Forum Index -> How to ?
View previous topic :: View next topic  
Author Message
blanche



Joined: 02 Jan 2004
Posts: 4

PostPosted: Fri Jan 02, 2004 1:35 pm    Post subject: Insert a line break after each entry Reply with quote

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 Smile -->
<?php } ?>
Back to top
View user's profile Send private message
LiaLaToThSla



Joined: 02 Jan 2004
Posts: 8

PostPosted: Fri Jan 02, 2004 10:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
blanche



Joined: 02 Jan 2004
Posts: 4

PostPosted: Fri Jan 09, 2004 9:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> How to ? 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