-
1. Re: Table preview different from stated pixel width... why?
John Waller Mar 1, 2012 2:56 PM (in response to John Nez)Unfortunately screenshots don't help us much.
Please upload the page to the web and post a link so we can view it and the code in our browsers.
-
2. Re: Table preview different from stated pixel width... why?
Rik Ramsay Mar 1, 2012 3:22 PM (in response to John Nez)How are you spacing the cells? Using   or using spacer graphics?
The height of the horizontal bars is determined by the line-height of the text if using   to fill the gap. Make sure you have no padding/spacing, set the line-height of those cells to 11px and it should start to look as expected.
-
3. Re: Table preview different from stated pixel width... why?
John Nez Mar 1, 2012 3:26 PM (in response to Rik Ramsay) -
4. Re: Table preview different from stated pixel width... why?
Rik Ramsay Mar 1, 2012 3:40 PM (in response to John Nez)You have a set row height...
<tr height="15">
<td bgcolor="#ffffff" width="11" height="11"></td>
<td bgcolor="#b5a5af" width="151" height="11"></td>
<td bgcolor="#000000" width="11" height="11"></td>
<td bgcolor="#a1bfaa" width="150" height="11"></td>
<td bgcolor="#000000" width="11" height="11"></td>
<td bgcolor="#b6ccd4" width="150" height="11"></td>
<td bgcolor="#000000" width="11" height="11"></td>
<td bgcolor="#c78683" width="150" height="11"></td>
<td bgcolor="#ffffff" width="13" height="11"></td>
</tr>
If this doesn't solve it, add in style="line-height:11px;" into each of those <td> cells and also add in the non-breaking space to hold form.
EDIT:// You are also missing a DOCTYPE in the document. This is a crucial part of any web page. http://www.w3schools.com/tags/tag_doctype.asp
-
5. Re: Table preview different from stated pixel width... why?
John Nez Mar 1, 2012 4:37 PM (in response to Rik Ramsay)Thanks! I see changing the tr heigth from 15 to 11 did the trick.
I still don't get why the code wasn't corrected after I set the heigth to 11 in design mode?
Clearly I'm no expert in HTML.
Hopefully the definition code at the head will be corrected once I create a DW site to put this page in.
Just now it's adapted from GoLive.
Thanks...




