 |
boardom b2 message board
|
View previous topic :: View next topic |
Author |
Message |
Jakey
Joined: 27 Aug 2004 Posts: 1 Location: UK
|
Posted: Fri Aug 27, 2004 4:28 pm Post subject: HELP! Entries won't be placed where I want them to be! |
|
|
Could someone help me with a problem which keeps on happening... basically if you go to http://www.bobakey.net/blog you can see where I want my blog entries to go, within the 'block' outlined with the lines. The Problem is that no matter what I do I can't get my entries to move when using DIV tags... but I have no idea why!
The Code I'm using is:
Code: | <?php /* Don't remove this line, it calls the b2 function files ! */ $blog=1; include ("blog.header.php"); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<title>... Bobakey.net ... ... The Blog ... ... Bang ...</title>
<meta http-equiv="Content-Type" content="text/html;">
<style type="text/css">
body {font-family: Tahoma; font-size: 10px; color: #888888; text-align: justify}
a:link, a:active, a:visited {color: #CC0000; text-decoration:none}
a:hover {color: #000000; text-decoration: underline; bold}
<!--
BODY {
scrollbar-face-color:#ffffff;
scrollbar-highlight-color:#ffffff;
scrollbar-3dlight-color:#000000;
scrollbar-darkshadow-color:#ffffff;
scrollbar-shadow-color:#000000;
scrollbar-arrow-color:#000000;
scrollbar-track-color:#ffffff;
}
-->
</style>
</head>
<body background="blog_r6_c1.jpg" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">
<table border="0" cellpadding="0" cellspacing="0" width="900">
<tr>
<td><img src="spacer.gif" width="286" height="1" border="0"></td>
<td><img src="spacer.gif" width="316" height="1" border="0"></td>
<td><img src="spacer.gif" width="298" height="1" border="0"></td>
<td><img src="spacer.gif" width="1" height="1" border="0"></td>
</tr>
<tr>
<td><img name="blog_r1_c1" src="blog_r1_c1.jpg" width="286" height="151" border="0"></td>
<td><img name="blog_r1_c2" src="blog_r1_c2.jpg" width="316" height="151" border="0"></td>
<td><img name="blog_r1_c3" src="blog_r1_c3.jpg" width="298" height="151" border="0"></td>
<td><img src="spacer.gif" width="1" height="151" border="0"></td>
</tr>
<tr>
<td><img name="blog_r2_c1" src="blog_r2_c1.jpg" width="286" height="145" border="0"></td>
<td><img name="blog_r2_c2" src="blog_r2_c2.jpg" width="316" height="145" border="0"></td>
<td><img name="blog_r2_c3" src="blog_r2_c3.jpg" width="298" height="145" border="0"></td>
<td><img src="spacer.gif" width="1" height="145" border="0"></td>
</tr>
<tr>
<td rowspan="2"><img name="blog_r3_c1" src="blog_r3_c1.jpg" width="286" height="152" border="0"></td>
<td rowspan="2"><img name="blog_r3_c2" src="blog_r3_c2.jpg" width="316" height="152" border="0"></td>
<td><img name="blog_r3_c3" src="blog_r3_c3.jpg" width="298" height="146" border="0"></td>
<td><img src="spacer.gif" width="1" height="146" border="0"></td>
</tr>
<tr>
<td rowspan="2"><img name="blog_r4_c3" src="blog_r4_c3.jpg" width="298" height="153" border="0"></td>
<td><img src="spacer.gif" width="1" height="6" border="0"></td>
</tr>
<tr>
<td><img name="blog_r5_c1" src="blog_r5_c1.jpg" width="286" height="147" border="0"></td>
<td><img name="blog_r5_c2" src="blog_r5_c2.jpg" width="316" height="147" border="0"></td>
<td><img src="spacer.gif" width="1" height="147" border="0"></td>
</tr>
<tr>
<td colspan="3"><img name="blog_r6_c1" src="blog_r6_c1.jpg" width="900" height="5" border="0"></td>
<td><img src="spacer.gif" width="1" height="5" border="0"></td>
</tr>
</table>
<DIV STYLE="position:absolute;left:257;top:100">
<div id="content">
<!-- // b2 loop start -->
<?php while($row = mysql_fetch_object($result)) { start_b2(); ?>
<?php the_date("","<h2>","</h2>"); ?>
<?php permalink_anchor(); ?>
<div class="storyTitle"><?php the_title(); ?>
<a href="?cat=<?php the_category_ID() ?>" title="category: <?php the_category() ?>"><span class="storyCategory">[<?php the_category() ?>]</span></a> -
<span class="storyAuthor"><?php the_author() ?> - <?php the_author_email() ?></span> @ <a href="<?php permalink_link() ?>"><?php the_time() ?></a>
<div class="storyContent">
<?php the_content(); ?>
<div class="rightFlush">
<?php link_pages("<br />Pages: ","<br />","number") ?>
<?php comments_popup_link("Comments (0)", "Comments (1)", "Comments (%)") ?>
<?php trackback_popup_link("TrackBack (0)", "TrackBack (1)", "TrackBack (%)") ?>
<?php pingback_popup_link("PingBack (0)", "PingBack (1)", "PingBack (%)") ?>
<?php trackback_rdf() ?>
<!-- this includes the comments and a form to add a new comment -->
<?php include ("b2comments.php"); ?>
<!-- this includes the trackbacks -->
<?php include ("b2trackback.php"); ?>
<!-- this includes the pingbacks -->
<?php include ("b2pingbacks.php"); ?>
<!-- // this is just the end of the motor - don't touch that line either :) -->
<?php } ?>
</td></tr></table></div>
<P><center>
<?php include("b2archives.php"); ?>
<br />
</table></div>
</body>
</html>
|
If anyone could help me with this I woild be most greatful as I am out of ideas! |
|
Back to top |
|
 |
Liv
Joined: 25 Aug 2004 Posts: 13 Location: NY
|
Posted: Fri Aug 27, 2004 8:07 pm Post subject: |
|
|
Well, your problem is that you're including the actual b2 code in the page!
You have to put all your b2 files into a folder, if you haven't done so already, then use an iframe or php include to place the blog on your page.
So say you use an iframe, and the b2 files are in a folder called b2. You would use a code something like this,
Quote: | <iframe src="b2" frameborder="0" name="blog" style="..."> |
And a php include would work something like this:
Quote: | <? include("http://www.bobakey.net/blog/b2")?> |
_________________ Does anybody know how the story really goes
Or should we all just hum along |
|
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
|