• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

picture text under image, when image is in same table row as text

 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!

Have a long text that wraps around a picture and. Wants to get picture text right under the picture. How can I do this? Here is my code:


<HTML><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>IE/Win: problem with float + clear on the same element</title>
<style type="text/css">
body {
background-color: #fff;
color: #000;
}
.b2 {
float: left;
width: 50%;
background-color: #aaf;
clear: left;
}
</style>
</head>
<BODY text=black leftmargin=5 rightmargin=400>
<TABLE><TBODY>
<TR><TD width=500>
<IMG src=https://obos1.obos.no/usikret/presse/DSCN1183.jpg hspace=4 vspace=4 width=250 align=right alt=Bildetekst>
</IMG>
<div class="b2" id="test" style="width:250px;visibility:visible;color: red;" align="left">picturetext</div>
<FONT face=arial size=2>this is an test text<BR><BR></FONT>
</TD></TR>
</TBODY></TABLE>
</BODY></HTML>

Best regards Age
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Basic example:



Eric
 
age spets
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Think you misunderstood the question. The answer was too simple. The questions was not how to have the text behind a picture without using tables. I try to demonstrate:

text1text1text1text1text1text1 PICTUREPICTUREPICTUREPICTUREPICTUREPIC
text1text1text1text1text1text1 PICTUREPICTUREPICTUREPICTUREPICTUREPIC
text1text1text1text1text1text1 PICTUREPICTUREPICTUREPICTUREPICTUREPIC
text1text1text1text1text1text1 PICTUREPICTUREPICTUREPICTUREPICTUREPIC
text1text1text1text1text1text1 PICTUREPICTUREPICTUREPICTUREPICTUREPIC
text1text1text1text1text1text1 Picturetext
text1text1text1text1text1text1text1text1text1text1text1text1text1text1
text1text1text1text1text1text1text1text1text1text1text1text1text1text1

You see my problem is to get this text under the picture...
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Basic example #2:



Eric

[ January 28, 2005: Message edited by: Eric Pascarello ]
[ January 28, 2005: Message edited by: Eric Pascarello ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic