View Full Version : PHP and tables?


brntacid
06-13-2003, 05:51 PM
So I installed b2 a while ago but now I want my date to appear in a table at the top of my entry. But when I do that the table sort of dissapears and a thin horizontal line is left. This is my code:

<div id="b2" align="justify" style="position: absolute; filter:alpha(opacity=60); width: 290; z-index: 9; left: 365; top: 370;">
<table>
<tr><td bgcolor=#E2DFD8 width=290><?php the_date() ?> <?php the_time() ?></td></tr>
<tr><td>
</td></tr></table>

Anyone know how to fix this?

designhazard
06-14-2003, 01:32 AM
<div id="b2" align="justify" style="position: absolute; filter:alpha(opacity=60);
width: 300; z-index: 9; left: 365; top: 370;">
<table>
<tr><td bgcolor=#E2DFD8 width=290><?php the_date() ?> <?php the_time() ?></td></tr>
<tr><td><?php the_content(); ?>
</td></tr></table>
</div>

you will need to try to change the number in bold above.

brntacid
06-14-2003, 11:21 AM
hm, still doesn't seem to work. I made some screencaps of what it looks like:
http://www.envile.net/Image1.gif
before I changed anything

http://www.envile.net/Image2.gif
after I changed the bold number

designhazard
06-14-2003, 01:17 PM
oh. maybe you can try this.

here's the code:
<div id="b2" align="justify" style="position: absolute; filter:alpha(opacity=60); width: 300; z-index: 9; left: 365; top: 370;">
<table>
<tr><td bgcolor=#E2DFD8 width=300 height=10><?php the_date() ?> <?php the_time() ?></td></tr>
<tr><td><?php the_content(); ?>
</td></tr></table>
</div>

the text that is in bold can be edited. make sure the text in bold and in underline must be the same.