That will give your page a raggedy appearance though, no?
Why not do your code like this (shown in embarrassingly crude pseudo-code) -
<tr>
<? if no image then write ?><td colspan="2"><? your news feed here ?></td>
<? else ?><td><img src="<? source ?>"...></td><td><? your news feed here
?></td><? end if ?>
</tr>
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"JustMeDavid" <webforumsuser (AT) macromedia (DOT) com> wrote
Quote:
Hi
I have 2 cells for a news section on a web page.
Cell 1 is to hold an Image
Cell 2 is to hold text
Using Dreamweaver MX 2004 php <> MySql
in the database we have the text and maybe a path to the image, maybe
not.
So if there is an Image, I want to load the Image into Cell 1 and
database
text into Cell 2 textField
If not I want the place where the Image should be (Cell 1) to hold the
cell 2
News Story.
Anyone help with pointing me to a tutorial??
I am a novice in Dreamweaver and it is for a non comercial site
(Daughters
soccer club)
Regards
David |