> From: "Jeff Bluemel" <[EMAIL PROTECTED]> > [snip] > > I have the following table... the button that originates from a form is out > of alighnment, and sits higher then the rest. how do I solve this? > > <TD><a href="main.phtml" target="_top"><IMG SRC="images/home-bttn.jpg" > border="0"></a></TD> > <TD> > <form action="<?=$PHP_SELF?><?if($QUERY_STRING){ echo"?". > $QUERY_STRING;}?>" method="POST"> > <input type="image" src="images/cs-bttn.jpg" value="Customer Service" > name="CS" > > </form> > </TD> > <TD><IMG src="images/rating-bttn.jpg"></TD> > <TD><IMG src="images/batch-bttn.jpg"></TD> > <TD><IMG src="images/admin-bttn.jpg"></TD> > <TD><a href="logoff.php" target="_top"><IMG src="images/logoff-bttn.jpg" > border="0"></a></TD> > Forms are displayed as block elements by default, which adds top and bottom space. To make a form display as an inline element, add this within the form tag:
STYLE="display: inline;" A previous post recommended doing something similar by setting HSPACE and VSPACE to zero, but be aware that both HSPACE and VSPACE are deprecated in HTML 4. -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php