Go Back   SitePoint Forums > Forum Index > Program Your Site > PHP
Newsletter FAQ Members List Calendar Mark Forums Read

New to SitePoint Forums? Register here for free!

SitePoint Sponsor
 
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old Jul 13, 2006, 02:54   #1
7724
SitePoint Guru
 
Join Date: Feb 2005
Posts: 701
Layout advice on live site?

Hi Guys,

Wondering if anyone could offer me some advise on my PHP layout of my site.

On my stories page in this kind of format:

HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<HTML>
<HEAD>
<TITLE>layout advise</TITLE> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> 
</HEAD>

<BODY BGCOLOR="#FFFFFF">
<TABLE WIDTH="100%" BORDER="0" CELLSPACING="1" CELLPADDING="1"> <TR><TD HEIGHT="77"> 
<TABLE WIDTH="20%" BORDER="0" CELLSPACING="1" CELLPADDING="1" ALIGN="RIGHT" VSPACE="6" HSPACE="6"> 
<TR><TD HEIGHT="36"><IMG SRC="../uploads/<?php echo"$picture"; ?>"></TD></TR> 
<TR><TD HEIGHT="25"><?php echo $caption; ?></TD></TR> </TABLE><?php  echo nl2br($body); ?></TD></TR> 
</TABLE> 
</BODY>
</HTML>
I call out the 600 or so words entered as the body_text from a specific id and the picture information and caption fits and wraps around it nicely.

But…

If I wanted to call out another box identical to the picture information box that’s called around half-way down the page to wrap around the body_text how would I do that?

Thanks

Chris
7724 is offline   Reply With Quote
 

Bookmarks

« Previous Thread | Next Thread »

Thread Tools
Display Modes

 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Sponsored Links
 
Forum Jump


All times are GMT -7. The time now is 02:40.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 1998-2009, SitePoint Pty Ltd. All Rights Reserved