Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML Placement 1

Status
Not open for further replies.

monoone

Programmer
May 24, 2002
219
US
How do I do this?

I want to have my Image Caption placed directly under my image.

Here is my code.

--------------------
<!--- Content Generated Here --->
<TABLE CELLSPACING=&quot;2&quot; CELLPADDING=&quot;2&quot; BORDER=&quot;0&quot;>
<TR>
<TD WIDTH=&quot;500&quot; VALIGN=&quot;top&quot;>
<DIV ALIGN=&quot;right&quot;>#Caption#</DIV><IMG SRC=&quot; ALT=&quot;&quot; BORDER=&quot;0&quot; STYLE=&quot;border: 1px solid Black;&quot; HSPACE=&quot;5&quot; VSPACE=&quot;2&quot;ALIGN=&quot;Right&quot;>
<FONT FACE=&quot;Verdana,Geneva,Arial,Helvetica,sans-serif&quot; SIZE=&quot;2&quot;>
<STRONG><H2>#Title#</H2></STRONG>
<STRONG><FONT COLOR=&quot;##808080&quot;><H3>#SubTitle#</H3></FONT></STRONG>
#Story#</FONT>
</TD>
</TR>
</TABLE>
------------------------------

Right now the &quot;Caption&quot; is on top of the image I want it below the image.

Any ideas?

Thanks,

-Eric
 
Change

Code:
<DIV ALIGN=&quot;right&quot;>#Caption#</DIV><IMG SRC=&quot;[URL unfurl="true"]http://www.heine.com/newsletter/Docs/#Image#&quot;;[/URL] ALT=&quot;&quot; BORDER=&quot;0&quot; STYLE=&quot;border: 1px solid Black;&quot;  HSPACE=&quot;5&quot; VSPACE=&quot;2&quot;ALIGN=&quot;Right&quot;>

to

Code:
<DIV ALIGN=&quot;right&quot;><IMG SRC=&quot;[URL unfurl="true"]http://www.heine.com/newsletter/Docs/#Image#&quot;;[/URL] ALT=&quot;&quot; BORDER=&quot;0&quot; STYLE=&quot;border: 1px solid Black;&quot;  HSPACE=&quot;5&quot; VSPACE=&quot;2&quot;ALIGN=&quot;Right&quot;><Br>#Caption#</DIV>

ALFII.com
---------------------
If this post answered or helped to answer your question, please reply with such so that forum members with a similar question will know to use this advice.
 
This did not work - the &quot;Caption&quot; is to the left of the image.

I am not sure if this can be done..

-Eric
 
Ah, your align attribute in your image, take it out.

ALFII.com
---------------------
If this post answered or helped to answer your question, please reply with such so that forum members with a similar question will know to use this advice.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top