I have two pieces of Information Text on one of my pages. The first sits on top of a .jpg image and keeps tidily within the size constraints of the image. The height of the text (controlled by an external CSS) is 12px. It is coded as follows:
<TD background="images/2_21.jpg" WIDTH=163 HEIGHT=99 ALT=""><div id="maintext">
I would excercise some caution and avoid these foods
for the moment.</div></TD>
For some reason the next string of text which should be displayed on my html page in a long single line actually appears as a tall, narrow column of wrapped text with only one or two words to a line. It has ignored the constraints of its .jpg - 549px wide x 22px high and is coded as follows:
<TD background="images/2_03.jpg" WIDTH=549 HEIGHT=22 ALT=""><div id="maintext">
Always check the sources of the product and ask questions if need be.</div></TD>
Can I stop this line of text breaking?
Any help would be much appreciated.
Note: Unlike with the correctly formatted text, if I right-click on the background of the problem text and select properties there is no sign of a .jpg. This background image should be long and shallow but instead is tall and narrow. Evidently, 03.jpg has not been displayed!
<TD background="images/2_21.jpg" WIDTH=163 HEIGHT=99 ALT=""><div id="maintext">
I would excercise some caution and avoid these foods
for the moment.</div></TD>
For some reason the next string of text which should be displayed on my html page in a long single line actually appears as a tall, narrow column of wrapped text with only one or two words to a line. It has ignored the constraints of its .jpg - 549px wide x 22px high and is coded as follows:
<TD background="images/2_03.jpg" WIDTH=549 HEIGHT=22 ALT=""><div id="maintext">
Always check the sources of the product and ask questions if need be.</div></TD>
Can I stop this line of text breaking?
Any help would be much appreciated.
Note: Unlike with the correctly formatted text, if I right-click on the background of the problem text and select properties there is no sign of a .jpg. This background image should be long and shallow but instead is tall and narrow. Evidently, 03.jpg has not been displayed!