[thelist] unwanted spacing on expanded TDs

ben morrison morrison.ben at gmail.com
Mon Aug 14 08:25:08 CDT 2006


On 8/14/06, Daniel Kessler <danielk at umd.edu> wrote:
> I have a table for a side nav that is 1 column by several rows:
> http://hhp.umd.edu/studentservices/includes/test.html
>
> I have a situation where my coding whitespace is affecting my
> output.  When I display the page on PC IE I receive a blank area
> underneath the first three buttons but not under the next few.
> They're the same code with the button names replaced.  The main
> difference is the whitespace.  The lower, correct button have the TD
> and all the td info and /TD all on one line.  The incorrect ones have
> a TD, then on the next line the TD contents, then on a third line,
> the /TD.  This happens only on IE PC, not in Firefox mac/pc or Safari.
>

Tried the usual hasLayout fixes but that didn't work so making the
content display as a block element seems to fix this problem:

<style type="text/css">
table img {display:block;}
</style>

ben



More information about the thelist mailing list