[thelist] PS > DW > NP Same Table Problem

Syed Zeeshan Haider szh at softhome.net
Tue Jul 1 16:38:04 CDT 2003


From: "Casey Crookston"

> The cells will resize without the image because HTML can not be trusted to
> set its own width and height according to width and height tags.  Did that
> make sense?

Yes!

> In other words, just because you say <td with="x"> does not mean that the
> width tag will be obayed, espiacly if you have content in other td's in the
> same table.

Experienced!

> If you want to be absolutly sure that the table will remain in tact, then do
> this: in PhotoShop create an image that is 72 DPI and 1 pixel wide by 1
> pixel high.  Make sure it is an empty image with only a background (so that
> it shows the grey checkers indidcating blank space.)  Save this image as a
> gif and call it what ever you want (i call mine dot.gif).  What you have now
> is a 1x1 transparent gif.
>
> Now, in your table, put this image in the td from which your sliced image
> has been removed and size it to what ever you need.  <img src="art.gif"
> width="250" height ="1" border="0" alt="">.  The image will not be seen, but
> what ever is behind it will be seen.  And you can stretch it to what ever
> size you need, but it will not increase page download speed as its only a
> 1x1 image.
>
> HTH,

In fact, I am trying to keep the cell empty from any image. I want to type text
in the cell. A 1x1 image is called a spacer. PS creates spacer images (if it
feels any need) when a sliced image is saved. I already have many such
(readymade) spacers. PS calls such an image "spacer.gif".
--
Syed Zeeshan Haider.


-----------------------------------
Allah says to Mankind:
"Then which of the favours of your Lord will ye deny?"



More information about the thelist mailing list