The button, in the form, is forcing the lower right button out of the yellow div. Why?HTML Code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <?php session_start(); ?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="description" content="Save money" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>ebop </title> <style type="text/css"> .button {margin:0px;padding:0px;width:82px;height:40px;font-size:12px;vertical-align:top;} .message {position:relative;margin:10px 0px 0px -5px;background:white;width:100px;display:none;border-style:solid;border-width:4px;} .div{margin:0px 0px 0px 0px;float:left;overflow:visible;width:170px;height:85px;background:yellow;} .wrapper{width:595px;} button.button:hover div.message {display:block;} </style> </head> <body> <?php echo '<div class="div">'; //button div echo '<button class="button" >Item <br/>Info'; echo '</button>'; echo '<button class="button" >Company Info'; echo '</button>'; echo '<form action="cart.php" method="post" style="height:40px;width:82px;" >'; echo '<button class="button" type="submit" >Save for Printing</button>'; echo '</form>'; echo '<button class="button" >email Question'; echo '</button>'; echo '</div>'; //closes button div ?> </body> </html>



Reply With Quote


).

Bookmarks