line breaks
Posted: Sat 02 Jun 2012 5:26 am
Hello there,
Could somebody please help me out with the code required to insert a line break between the following two 'document. write' codes. Of course, as it is now, the text align itself on the right of the small image. What I am really after is for the text to be on the next line. (javascript has me somewhat rattled)
<td width="25%" align="center" valign="top"><script type="text/javascript">
document.write("<img src=\"" + status_pic + "\" alt=\"test\" title=\"" + status_txt + "\" />");
document.write(status_txt);
</script>
</td>
Thanks in advance,
Alan
Could somebody please help me out with the code required to insert a line break between the following two 'document. write' codes. Of course, as it is now, the text align itself on the right of the small image. What I am really after is for the text to be on the next line. (javascript has me somewhat rattled)
<td width="25%" align="center" valign="top"><script type="text/javascript">
document.write("<img src=\"" + status_pic + "\" alt=\"test\" title=\"" + status_txt + "\" />");
document.write(status_txt);
</script>
</td>
Thanks in advance,
Alan