[thelist] PS > DW > NP Same Table Problem

Casey Crookston casey at thecrookstons.com
Tue Jul 1 15:43:56 CDT 2003


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?

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.

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,

Casey

----- Original Message -----
From: "Syed Zeeshan Haider" <szh at softhome.net>
To: "Evolt TheList" <thelist at lists.evolt.org>
Sent: Tuesday, July 01, 2003 3:27 PM
Subject: [thelist] PS > DW > NP Same Table Problem


> Hello Experts,
> I am trying to create a navigation bar with Photoshop using its Slices
Tool and
> Save For Web utility. After saving the sliced image, I open the web page
> (created by PS) with Dreamweaver. I try to remove the central part of the
image
> to set a background colour there and type text. When I remove this central
> (single-coloured) image the other cells of the (image slices) table
> automatically resize themselves messing up all parts of navigation bar. I
have
> put width and height attributes in each <td> tag but all in vain. I have
set
> heights and widths of some cells with CSS but no success.
> I have removed the above mentioned image with Notepad also (by editing
HTML) but
> same problem is there.
> Why do other cells resize when I remove one image from a cell?
> How can I control the cells' widths and heights for navigation bar?
>
> Thank you,
> --
> Syed Zeeshan Haider.
>
>
> -----------------------------------
> Allah says to Mankind:
> "Then which of the favours of your Lord will ye deny?"
>
>
> --
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> Evolt.org conference in London, July 25-27 2003.  Register today at
http://evolt.org.uk
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !



More information about the thelist mailing list