Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q2095 How to create Vertical or Horizontal Whitespace

You are here: irt.org | FAQ | HTML | Q2095 [ previous next ]

In a table it is easy, in plain text it's a bit more complicated but still easy. 'dot.gif' is a transparent GIF that is one pixel by one pixel in size. Technically this shows whatever is behind the image.

<!-- Table Example -->
<html>
<body>
<table>
  <tr>
    <td>
      <img src='dot.gif' width=10 height=25></td>
    <td>
      Some Text</td>
    <td>
      <img src='dot.gif' width=10 height=25></td>
  </tr>
</table>

<!-- Plain Text example -->
<img src='dot.gif' width=100% height=25><br>
Some Text<br>
<img src='dot.gif' width=100% height=25>

</body>
</html>

Submitted by mechanismo

©2018 Martin Webb