[thelist] Table Problem

Aylard JA (James) jaylard at equilon.com
Wed Jan 10 13:02:26 CST 2001


Brent,

>  Could someone take a look at this page
> http://www.dzyne3.com/test/site_map.html the table row that contains the
> search box should not be as tall as it is. I had wanted it to be only as
> high as the search box but it seems to be adding an extra 20 pixels or so
at
> the bottom. I'm sure it is some stupid little thing I am over looking but
I
> just cant figure it out.

	In IE at least, forms have a trailing margin when placed inside a
table. Set the margin for your form to 0px, and it should fix it:

<style type="text/css">
   form { margin: 0px }
</style>

	This approach is standards-compliant, works in IE 4+, without
side-effects in Netscape 6 or Opera 5. It does not fix the margin problem in
Netscape 4.x., however.

James Aylard




More information about the thelist mailing list