[thelist] Mozzila refusing to collapse table cell to 1px

rudy r937 at interlog.com
Mon May 28 06:45:12 CDT 2001


hi andy

haven't tried your code, but the obvious thing to check for is to make sure
you don't have a line feed in the table cell

so instead of

  <td class="blue_bkgnd">
  <img alt="" width="300" height="1" src="shim.gif" />
  </td>

you can have either

  <td class="blue_bkgnd"><img
         alt="" width="300" height="1" src="shim.gif" /></td>

or

  <td class="blue_bkgnd"
      ><img alt="" width="300" height="1" src="shim.gif"
     /></td>

the latter being my preferred method because i like keeping my cursor near
the front of the text line when inserting or deleting stuff

> (The padding and margins around the <p> tag in mozilla are
> also very different to IE and Netscape; another bug in Mozilla,
> or are the other browsers wrong here?)

no comment, except that you'll go nuts trying to achieve the same padding
and margins in all browsers

somebody will probably jump in here to the defence of css, but padding and
margin are areas which, if you can, you would be well advised to include
out of your designs

not that i don't use them, i do, but sparingly


rudy






More information about the thelist mailing list