
|
There are two ways of producing simple coloured lines:
1. A single cell coloured .gif image which you can stretch, 1. Single Cell coloured .gif
You can have simple coloured lines or squares.
You can then use these very small GIFs with the height and width you require.
In case you do not have a graphics package handy, here are some GIFs
On the other handBut maybe it is possible to go too far on this, size-wise. When transmitted all GIFs are compressed and simple GIFs take very little time, mostly overhead time. And when stored, GIFs will always have the disk storage minimum size. But efforts to minimise image size must always be applauded.If you like to be a little more adventurous at minimal extra cost, you could try multi-coloured simple-coloured gifs. I have three in stock, none of which I am particularly keen on:
|
|
2. A transparent single cell gif in a table cell with BGCOLOR
This is illustrated in a vertical cell forming a coloured stripe down the page. Go to stripe6.htm for details. The same technique using a table cell is a neat way of producing coloured bars across the page. There is a minor problem with this in that some older browsers do not handle cell BGCOLOR very well.
The code is as follows:
<center> The color is specified in the TD clause, the width and height is in the IMG statement. With this you do not have to upload the specific colours you require into your image directory, only a standard transparent space.gif which you may find useful for other things too. The width and height is slightly different from what you might expect since there is a default in TABLE that gives CELLPADDING=3 and this is added to the image width and height values that you specify. |
![]()
|
Website by:
Richard Waller Comments? Suggestions? Contributions? Please contact us |
Page |
Map |
URL: http://www.waller.co.uk/lines.htm