Ask a Question related to Adobe Photoshop 7, CS, CS2 & CS3, Design and Development.
-
Smurfy #1
Re: ImageReady extra 1 pixel table row
"Alex Batchinski" <bachynskyi@yahoo.com> wrote in message
news:1de9b23d.-1@WebX.la2eafNXanI...this problem with 1 pixel height extra row of spacers at the very bottom of> Hi,
>
> I tried ImageReady 7.0 to export my sliced graphics into HTML. And I got
the table. But I don't have any slice of 1 pixel height. So where is it
coming from?becomes 1 pixel more in height than I sould have get.>
> This makes it impossible to use ImageReady! Because the resulting table*****************>
> Is there any workaround/patch/update?
>
> Thank you.
Most likely what you are seeing is a browser issue that has never really
been taken care of.
Check your HTML and if your closing cell and row tags are not on the same
line, something like this:
<tr>
<td><img src='somepicslice.gif">
</td>
</tr>
make them look like this:
<tr><td><img src='somepicslice.gif"></td></tr>
For some reason having the closing tags on a line below the cell content
often adds a space below or to the right of the image, putting all the code
on one line removes it.
The strange part about this is that all WYSIWYG editors, Code Generators
(like Image Ready) and all Code Sweepers will drop the table tags down to
there own line.
HTH
Smurfy Guest
-
#25179 [Fbk->Csd]: sqlite appending one extra char at end of each table name
ID: 25179 Updated by: mrobinso@php.net Reported By: mrobinso@php.net -Status: Feedback +Status: ... -
#25179 [Opn->Fbk]: sqlite appending one extra char at end of each table name
ID: 25179 Updated by: wez@php.net Reported By: mrobinso@php.net -Status: Open +Status: Feedback Bug... -
#25179 [NEW]: sqlite appending one extra char at end of each table name
From: mrobinso@php.net Operating system: RH-8.0 PHP version: 4.3.3RC4 PHP Bug Type: SQLite related Bug description: sqlite... -
Photoshop file sliced into a Table leaves a one pixel gap inbrowsers
The solution of placing the control code at the bottom WORKS! copy this from your doc and place it after the last row on the page. THANKS! <TR>... -
Dreamweaver MX adding 1 extra pixel to table
Hello, Why Dreamweaver MX adds an extra 1 pixel width to the table? I have a table that is 780 in width. Due to the way the web site was design... -
dennis johnson #2
Re: ImageReady extra 1 pixel table row
You could edit the HTML code manually and change the height parameter of the table.
dennis johnson Guest
-
Alex Batchinski #3
Re: ImageReady extra 1 pixel table row
What I'm saying is there really should not be this row. It's an extra unneeded one. For example, I have a table with cells which all have images (from "Image" slices) and let's say these images are all red (all table is red). That extra row of spacers creates for me unneeded white (my page's background color) 1 pixel line. And if I have this table inside another red table I'll get small 1 pixel white line inside all red!
Alex Batchinski Guest
-
Alex Batchinski #4
Re: ImageReady extra 1 pixel table row
The table is generated from slices. How could I possibly have ImageReady to set padding and table border?
Alex Batchinski Guest
-
Alex Batchinski #5
Re: ImageReady extra 1 pixel table row
I can prepare an example PSD file and resulting HTML code. Just tell me where to put/send it.
Alex Batchinski Guest
-
Flo Nelson #6
Re: ImageReady extra 1 pixel table row
I don't use ImageReady for html, but Dreamweaver will do the same thing if
used in "layout"mode. Basically the 1 pixel row is filled with spacer gifs
(a 1 pixel transparent gif) to make sure the table stays exactly the width
you want it. Probably done only if some of the slices aren't labeled as
images.
This is not a great way to create code and in the Dreamweaver ng everyone
advises against it, but if you don't have the time or inclination to learn a
lot about table structures, try this: you could simply delete that row -
then if your table doesn't space out right, put a spacer gif in any cells
with no images. Make that gif the width and height you need to stablize your
table.
Flo
"Alex Batchinski" <bachynskyi@yahoo.com> wrote in message
news:1de9b23d.-1@WebX.la2eafNXanI...this problem with 1 pixel height extra row of spacers at the very bottom of> Hi,
>
> I tried ImageReady 7.0 to export my sliced graphics into HTML. And I got
the table. But I don't have any slice of 1 pixel height. So where is it
coming from?becomes 1 pixel more in height than I sould have get.>
> This makes it impossible to use ImageReady! Because the resulting table>
> Is there any workaround/patch/update?
>
> Thank you.
Flo Nelson Guest
-
Tim Mousel #7
Re: ImageReady extra 1 pixel table row
Hi,
Did you figure this out? I'm having the same issues.
Thanks,
Tim
Tim Mousel Guest
-
Trevor Morris #8
Re: ImageReady extra 1 pixel table row
The reason for the extra row/column and spacers is because you're cutting the table in an "impossible" way. If you cut your graphics/slices in a manner that cannot be accomplished with a simple HTML table, ImageReady is clever enough to add an extra row in which it creates the necessary rows/columns and then translates your requested slices into row/column spans. The only way to avoid this is to very carefully plan you slices so that all rows and columns line up (or at least so that "legal" row/column spans can be used - otherwise you'll get spacers).
Another alternative is to slit a complex table into two separate pieces - even a separate table for each row might be preferable to the spacers given your circumstances.
Hope that was all clear.
Trevor Morris Guest
-
Don McCahill #9
Re: ImageReady extra 1 pixel table row
It was to me, Trevor, and is the right answer. I will add a comment that might clarify it for those who didn't follow your answer.
An HTML table must have a defining size. When you make two rows with each having two columns, "but the two columns do NOT align" then HTML has to use column spans to make this work.
However, it CANNOT span columns correctly in this situation (in most browsers). The way to correct this is to add a third row that has all three columns in it, so that now the browser knows where to end each column.
The same thing can happen with rows (when a column is added at one end or the other). If you remove those rows (or columns) your image will not be able to align.
Most programs making web images will give you the option of making the extra row either a slice of the image, or a background color. I don't know IR well enough to know if it has this option.
Don McCahill Guest



Reply With Quote

