Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q2095 How to create Vertical or Horizontal Whitespace

irt.org | Knowledge Base | HTML | Q2095 [ previous next ]

Q2095 How to create Vertical or Horizontal Whitespace

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


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.