Jump to content

TronB24

Members
  • Posts

    22
  • Joined

  • Last visited

    Never

About TronB24

  • Birthday 04/25/1977

Contact Methods

  • AIM
    stillntrich
  • Yahoo
    emajen044

Profile Information

  • Gender
    Not Telling
  • Location
    Florida

TronB24's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. You guys put me on the right path. You all were correct that my require_once file not being found. I changed to I'll be honest in admitting that I have no idea why this was necessary. Also I did change the $webaddress variable to $web somewhere in my trouble shooting. So I fixed that. The form appears to be working now. I can see the results in my db. Now the next steps for me are to figure out how to customize the the "success" page message based on the unit size selection and writing the email script. Thank you all for your help. I've been working on this for about 4 hours now
  2. This is what I'm getting with the log. Notice: Undefined variable: webaddress in /var/www/vhosts/monin.com/subdomains/us/httpdocs/nrninquiry.php on line 96 Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/monin.com/subdomains/us/httpdocs/nrninquiry.php:96) in /var/www/vhosts/monin.com/subdomains/us/httpdocs/nrninquiry.php on line 103 line 96 in my page $query = "INSERT INTO leads (unitSize, firstName, lastName, businessName, address, city, state, zip, phone, email, webaddress, registration_date) VALUES ('$unitSize', '$firstName', '$lastName', '$businessName', '$address', '$city', '$state', '$zip', '$phone', '$email', '$webaddress',NOW() )"; line 103 header ('Location: http://us.monin.com/success.php'); Thanks for all of you guys help. I'm still stumped though.
  3. Unfortunately I'm embarrassed to say that I don't log errors. I'm pretty new at this and not really sure how to do that yet. So I put that code at the top of my page. Was something supposed to happen? The required file is my db connection script. I'm pretty sure it functions like it's supposed to but like you said, I'm not really sure if it's being found by my page.
  4. Thanks for looking at this. I just fixed that line and it's still submitting blank. I'm not sure what's going on. Here's the form in action with that revision, which I can't believe I overlooked. http://us.monin.com/nrninquiry.php
  5. I've coded this form which I've used the base code for several times but for whatever reason on my latest attempt my script is not working. When I click the submit button all I get is blank page. I've tried rewriting the script piece by piece but I'm having no luck. The for is supposed to submit the users into a database and then eventually I will write a mail function once I can get it at least submit the data. Here's my code sans page styling, etc. <?php if(isset($submit)) { // Handle the form. function escape_data($data) { global $dbc; if (ini_get('magic_quotes_gpc')) { $data = stripslashes($data); } return mysql_escape_string($data); } $message = NULL; // Create an empty new variable. if ($_POST['unitSize'] == 'Please Choose') { $unitSize = FALSE; $message .= '<p>You forgot to enter your chain size.</p>'; } else { $unitSize = escape_data($_POST['unitSize']); } if (empty($_POST['firstName'])) { $firstName = FALSE; $message .= '<p>You forgot to enter your first name.</p>'; } else { $firstName = escape_data($_POST['firstName']); } if (empty($_POST['lastName'])) { $lastName = FALSE; $message .= '<p>You forgot to enter your last name.</p>'; } else { $lastName = escape_data($_POST['lastName']); } if (empty($_POST['businessName'])) { $businessName = FALSE; $message .= '<p>You forgot to enter your business name.</p>'; } else { $businessName = escape_data($_POST['businessName']); } if (empty($_POST['address'])) { $address = FALSE; $message .= '<p>You forgot to enter your address.</p>'; } else { $address = escape_data($_POST['address']); } if (empty($_POST['city'])) { $city = FALSE; $message .= '<p>You forgot to enter your city.</p>'; } else { $city = escape_data($_POST['city']); } if ($_POST['state'] == 'Please Choose') { $state = FALSE; $message .= '<p>You forgot to enter your state.</p>'; } else { $state = escape_data($_POST['state']); } if (empty($_POST['zip'])) { $zip = FALSE; $message .= '<p>You forgot to enter your zip code.</p>'; } else { $zip = escape_data($_POST['zip']); } if (empty($_POST['phone'])) { $phone = FALSE; $message .= '<p>You forgot to enter your telephone number.</p>'; } else { $phone = escape_data($_POST['phone']); } if (empty($_POST['email'])) { $email = FALSE; $message .= '<p>You forgot to enter your email address.</p>'; } else { $email = escape_data($_POST['email']); } if ($unitSize && $firstName && $lastName && $businessName && $address && $city && $state && $zip && $phone && $email) { // If everythings OK. require_once ('/include/dbnrn.php'); // Register user to database. $query = "INSERT INTO leads (unitSize, firstName, lastName, businessName, address, city, state, zip, phone, email, webaddress, registration_date) VALUES ('$unitSize', '$firstName', '$lastName', '$businessName', '$address', '$city', '$state', '$zip', '$phone', '$email', '$webaddress',NOW() )"; $result = @mysql_query ($query); if ($result) { // If it ran OK. // Redirect user and close script. header ('Location: success.php'); exit(); // Quit the script. } else { $message .= '<p>You could not be registered due to a system error. We apologize for any inconvenience.</p><p>' .mysql_error().' </p>'; } mysql_close(); } else { $message .= '<p align="center">Please fill in the missing field(s)</p>'; } } // End of the Submit coniditional ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Monin Gourmet Flavorings: Ultimate Taste, Ultimate Creativity</title> <link href="/css/nrnform.css" rel="stylesheet" type="text/css" media="all" /> </head> <body> <?php if (isset($message)) { echo "$message" ; } ?> <form action="<?php echo $_POST['PHP_SELF']; ?>" method="post"> <table width="100%" align="center" cellpadding="0" cellspacing="0"> <tr> <td colspan="4" class="emphasis"><label for="unitSize" class="shadow">How many stores do you have?</label> <br /> <select name="unitSize" id="unitSize"> <option value="Please Choose">Please Choose</option> <option value="small">1-25</option> <option value="medium">26-50</option> <option value="large">51+</option> </select></td> </tr> <tr> <td><span class="shadow">First Name: </span><br /> <label for="firstName" class="round"><span><input name="firstName" type="text" id="firstName" value="<?php if (isset($_POST['firstName'])) echo $_POST['firstName']; ?>" style="width:100%"/></span></label></td> <td colspan="3"> <span class="shadow">Last Name: </span><br /> <label for="lastName" class="round"><span><input name="lastName" type="text" class="textInput" id="lastName" value="<?php if (isset($_POST['lastName'])) echo $_POST['lastName']; ?>" style="width:230px"/></span></label></td> </tr> <tr> <td colspan="4"><span class="shadow"> Operation Name:</span> <br /> <label for="businessName" class="round"><span><input name="businessName" type="text" id="businessName" value="<?php if (isset($_POST['businessName'])) echo $_POST['businessName']; ?>" style="width:360px"/></span></label></td> </tr> <tr> <td colspan="4" valign="top"> <span class="shadow">Address: </span><br /> <label for="address" class="round"><span><input name="address" type="text" id="address" value="<?php if (isset($_POST['address'])) echo $_POST['address']; ?>" style="width:360px" /></span></label></td> </tr> <tr valign="top"> <td><span class="shadow"> City:</span> <br /> <label for="city" class="round"><span class="submit"><input name="city" type="text" id="city" value="<?php if (isset($_POST['city'])) echo $_POST['city']; ?>" /></span></label></td> <td><label for="state" class="shadow"> State:</label> <br /> <select name="state" id="state"> <option value="Please Choose" selected>Please Choose <option value="AL">Alabama <option value="AK">Alaska <option value="AR">Arkansas <option value="AZ">Arizona <option value="CA">California <option value="CO">Colorado <option value="CT">Connecticut <option value="DE">Delaware <option value="FL">Florida <option value="GA">Georgia <option value="HI">Hawaii <option value="IA">Iowa <option value="ID">Idaho <option value="IL">Illinois <option value="IN">Indiana <option value="KS">Kansas <option value="KY">Kentucky <option value="LA">Louisiana <option value="ME">Maine <option value="MD">Maryland <option value="MA">Massachusetts <option value="MI">Michigan <option value="MN">Minnesota <option value="MS">Mississippi <option value="MO">Missouri <option value="MT">Montana <option value="NE">Nebraska <option value="NV">Nevada <option value="NH">New Hampshire <option value="NJ">New Jersey <option value="NM">New Mexico <option value="NY">New York <option value="NC">North Carolina <option value="ND">North Dakota <option value="OH">Ohio <option value="OK">Oklahoma <option value="OR">Oregon <option value="PA">Pennsylvania <option value="RI">Rhode Island <option value="SC">South Carolina <option value="SD">South Dakota <option value="TN">Tennessee <option value="TX">Texas <option value="UT">Utah <option value="VT">Vermont <option value="VA">Virginia <option value="WA">Washington <option value="DC">Washington D.C. <option value="WV">West Virginia <option value="WI">Wisconsin <option value="WY">Wyoming <option value="Please Choose">--------- <option value="PR">Puerto Rico <option value="VI">Virgin Islands </select></td> <td><span class="shadow"> Zip:</span> <br /> <label for="zip" class="round"><span><input name="zip" type="text" id="zip" value="<?php if (isset($_POST['zip'])) echo $_POST['zip']; ?>" style="width:70px"/></span></label> </td> </tr> <tr> <td></td> <td colspan="3"></td> </tr> <tr> <td colspan="4"><span class="shadow">Company web address:</span> <br /> <label for="webaddress" class="round"><span><input name="web" type="text" id="web" value="<?php if (isset($_POST['web'])) echo $_POST['web']; ?>" style="width:360px" /></span></label></td> </tr> <tr> <td><span class="shadow"> Phone:</span> <br /> <label for="phone" class="round"><span><input name="phone" type="text" id="phone" value="<?php if (isset($_POST['phone'])) echo $_POST['phone']; ?>" maxlength="15" /></span></label></td> <td colspan="3"><label for="email" class="shadow"> Email:</label> <br /> <label for="email" class="round"><span><input name="email" type="text" id="email" value="<?php if (isset($_POST['email'])) echo $_POST['email']; ?>" style="width:230px"/></span></label></td> </tr> <tr align="center"> <td colspan="3"><label for="submit"><input name="submit" type="submit" id="submit" value="Submit Request" /></label></td> </tr> </table> <input type="hidden" name="userID" id="userID" /> </form> </body> </html> Thanks a million times over for help
  6. I'm having trouble with the content on the page that doesn't fit in the immediate window. The header and footer are fixed. IE seems to not display the entire contents at the bottom of the #contents div in my page. FF and Safari are rendering this page exactly how I want it. Any suggestion would be greatly appreciated. Here's what I got: http://monin.com/new/ CSS * html body { padding:0; height: 100%; } body { margin:0;border:0; padding:0; height:100%; max-height:100%; background:#FFF; overflow: hidden; } #header { position:fixed; top:0; left:0; width:100%; height:115px; overflow:auto; background:#FFFFFF url(../images/headimg_home.jpg) no-repeat right top; color:#fff; } #header img { padding-top: 15px; padding-left: 10px; } #intl { background: #E8E6C1; width: 100%; } #intl ul li.first { margin-left: 0; border-left: none; list-style: none; display: inline; } #intl ul { color:#FFFFFF; margin: 0; padding:0; text-align: right; } #intl ul li { display:inline; margin:0; padding:0; font-size: 65%; list-style: url(none); } #intl ul li a{ text-decoration:none; color: #E8E6C1; padding: 0 15px; margin: 0; background-color: #B5B380; } #intl ul li a:hover, #intl ul li a:focus { background-color: #E8E6C1; color: #B5B380; } #headerNav { background-color: #F78A22; border-top-width: 1px; border-top-style: solid; border-top-color: #F78A22; border-bottom-width: 4px; border-bottom-style: solid; border-bottom-color: #B5B380; position: fixed; left: 0px; top: 115px; width: 100%; } #headerNav ul { color: white; text-align: center; margin: 0; padding-bottom: 5px; padding-top: 5px; font-size: 85%; } #headerNav ul li { display: inline; margin-left: -4px; background-color: #F78A22; } #headerNav ul li a { padding: 5px 10px 5px 10px; color: #FFFFFF; text-decoration: none; background: #FF9933; } #headerNav ul li a:hover { color: #000000; background: #CC9900 url(../images/button_over_gradient.jpg) repeat-x; } #footer { position:absolute; bottom:0; left:0; width:100%; height:30px; overflow:auto; text-align:center; background:#F78A22; color: #FFFFFF; } * html #footer { height: 30px; } #footer ul li.first { margin-left: 0; border-left: none; list-style: none; display: inline; } #footer ul { color:#B5B380; margin: 0; padding:10px 0; text-align: left; } #footer ul li { display:inline; margin:0; padding:0; font-size: 75%; } #footer ul li a{ text-decoration:underline; color: #B5B380; padding: 5px; } #footer ul li a:hover, #footer ul li a:focus { color:#FF3366; text-decoration: underline; } #contents { position:fixed; top:146px; left:0; right:0; bottom:30px; overflow:auto; background:#fff url(../images/content-gradient.jpg) repeat-x top; margin:0; padding:0; } * html #contents { height:100%; width:100%; } #right img { padding-left: 10px; float: right; } #right { width: 100%; margin-left: 180px; background: url(../images/page_fold.jpg) no-repeat left 40px; padding-left: 50px; padding-top: 40px; min-width: 620px; max-width: 800px; } #right ul { font-size: 80%; } #right ul li { line-height: 1.5em; margin-right: 15px; } #left { width: 160px; top: 130px; float: left; margin-left: 5px; margin-top: 40px; } #left img { padding: 5px 7px; } #left ul { margin-left: 0; padding-left: 10px; list-style-type: none; font-size: 75%; } #left ul li a { display: block; padding: 3px; width: 125px; border-bottom: 1px solid #eee; } #left ul li a:link, #left ul li a:visited { color: #999999; text-decoration: none; } #left ul li a:hover { background-color: #EBEBEC; color: #B5B380; } #left h3 { color: #F78A22; background: #E8E6C1; border-top-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-bottom-style: solid; border-top-color: #B5B380; border-bottom-color: #B5B380; font-weight: normal; margin-top: 5px; margin-bottom: 5px; } #left dl, #left dt, #left dd { margin: 0; padding: 0; list-style-type: none; } #left dl { width: 10em; } #left dt { cursor: pointer; text-align: left; margin: 5px 1px 5px 5px; font-size: 85%; color: #F78A22; } #left dt a:link, #left dt a:visited { text-decoration: none; color: #F78A22; } #left dd { display: none; } /* Begin Drop Menu CSS */ #dropmenudiv{ position:absolute; border-bottom-width: 1px; line-height:18px; z-index:100; border-top-width: 1px; border-right-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #B5B380; border-right-color: #B5B380; border-bottom-color: #B5B380; border-left-color: #B5B380; } #dropmenudiv a{ width: 100.01%; display: block; text-indent: 3px; padding: 1px 0; color: #000000; font-size: 80%; text-decoration: none; } #dropmenudiv a:hover{ /*hover background color*/ background-color: #B5B380; color: #FFFFFF; } /*End Drop Menu CSS */ HTML <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>Monin Gourmet Flavorings</title> <link href="css/fixed.css" rel="stylesheet" type="text/css" media="screen" /> <style type="text/css"> <!-- @import url("css/real_screen.css"); --> </style><script language="JavaScript" type="text/javascript" src="js/topmenu.js"></script><script language="JavaScript" type="text/javascript" src="js/sidemenu.js"></script> <!--[if gte IE 5]> <style type="text/css"> #right { width: expression(document.body.clientWidth < 620? "620px" : document.body.clientWidth > 800? "800px" : "auto"); ; } </style> <![endif]--> </head> <body> <div id="header"> <div id="intl"> <ul> <li><a href="#">Americas</a></li> <li><a href="#">France</a></li> <li><a href="#">International</a></li> </ul></div> <a href="index.php"><img src="images/monin-logo.gif" alt="monin logo" width="180" height="70" border="0" /></a> </div> <div id="headerNav"> <ul> <li><a href="#">Home</a></li> <li><a href="#" onclick="return clickreturnvalue()" onmouseover="dropdownmenu(this, event, menu1, '150px')" onmouseout="delayhidemenu()">Company Information</a></li> <li><a href="#" onclick="return clickreturnvalue()" onmouseover="dropdownmenu(this, event, menu2, '150px')" onmouseout="delayhidemenu()">What's New</a></li> <li><a href="#" onclick="return clickreturnvalue()" onmouseover="dropdownmenu(this, event, menu3, '150px')" onmouseout="delayhidemenu()">Products</a></li> <li><a href="#" onclick="return clickreturnvalue()" onmouseover="dropdownmenu(this, event, menu4, '150px')" onmouseout="delayhidemenu()">Recipes</a></li> <li><a href="#" onclick="return clickreturnvalue()" onmouseover="dropdownmenu(this, event, menu5, '150px')" onmouseout="delayhidemenu()">Contact</a></li> <li><a href="#" onclick="return clickreturnvalue()" onmouseover="dropdownmenu(this, event, menu6, '150px')" onmouseout="delayhidemenu()">Shop Monin</a></li> <li><a href="#">FAQs</a></li> </ul> </div> <div id="contents"> <div id="left"> <h3>search MONIN</h3> <form id="form1" name="form1" method="post" action=""> <input name="textfield" type="text" size="15" /> <input type="image" src="images/icon_search.gif" name="Submit" value="submit" /> <br /> <input name="search" type="radio" value="recipes" checked="checked" /> <span class="searchTxt">Recipes</span> <input name="search" type="radio" value="product" /> <span class="searchTxt">Products</span> </form> <h3>links</h3> <dl> <dt onmouseover="javascript:show();"><a href="index.php" title="Return to home">Home</a></dt> </dl> <dl> <dt onclick="javascript:show('smenu1');">Company Information</dt> <dd id="smenu1"> <ul> <li><a href="#">Message from Olivier</a></li> <li><a href="#">Message from Bill</a></li> <li><a href="#">History</a></li> <li><a href="#">Mission & Values</a></li> <li><a href="#">Awards</a></li> <li><a href="#">Press Release</a></li> <li><a href="#">Tradeshow Schedule</a></li> <li><a href="#">Affiliations</a></li> </ul> </dd> </dl> <dl> <dt onclick="javascript:show('smenu2');">What's New</dt> <dd id="smenu2"> <ul> <li><a href="#">New Products</a></li> <li><a href="#">New Promotions</a></li> <li><a href="#">Sign up to Receive</a></li> <li><a href="#">Tradeshow Schedule</a></li> </ul> </dd> </dl> <dl> <dt onclick="javascript:show('smenu3');">Products</dt> <dd id="smenu3"> <ul> <li><a href="#">New Products</a></li> <li><a href="#">Complete Product List</a></li> <li><a href="#">Classic Flavors</a></li> <li><a href="#">Organic Flavors</a></li> <li><a href="#">Sweeteners</a></li> <li><a href="#">O'free</a></li> <li><a href="#">Tea Concentrates</a></li> <li><a href="#">Coffee Concentrates</a></li> <li><a href="#">Sauce</a></li> </ul> </dd> </dl> <dl> <dt onclick="javascript:show('smenu4');">Recipes</dt> <dd id="smenu4"> <ul> <li><a href="#">Top Five Recipes</a></li> <li><a href="#">Advance Recipe Search</a></li> </ul> </dd> </dl> <dl> <dt onclick="javascript:show('smenu5');">Contact</dt> <dd id="smenu5"> <ul> <li><a href="#">Contact Monin</a></li> <li><a href="#">Find your Sales Rep</a></li> <li><a href="#">Locate a Distributor</a></li> </ul> </dd> </dl> <dl> <dt onclick="javascript:show('smenu6');">Shop Monin</dt> <dd id="smenu6"> <ul> <li><a href="#">Monin Retail Store</a></li> <li><a href="#">Monin Case Store for Foodservice Professionals</a></li> </ul> </dd> </dl> <dl> <dt onmouseover="javascript:show();"><a href="#" title="Frequently Asked Questions">FAQs</a></dt> </dl > </div> <div id="right"> <h1>True Brewed™ Espresso Concentrate</h1> <img src="images/btl_TrueBrewed.jpg" alt="True Brewed Bottle" width="95" height="440" /> <p>True Gourmet Espresso, No Expensive Equipment<br /> <em>Iced Coffee Has Never Been Easier</em></p> <p>Iced coffee and espresso are increasingly popular, year-round. Monin True Brewed Espresso Concentrate gives foodservice operators the ability to get in on the trend and offer delicious espresso based beverages, without investing in expensive equipment. Ideal for iced coffees, frozen lattes, mochas, and cocktails!</p> <p><em>Monin True Brewed™ Espresso Concentrate Contains NO Sugar.</em></p> <h2>Benefits</h2> <ul> <li>No machine investment</li> <li>Quick and consistent </li> <li>No mess, no cleanup</li> <li>No need to brew coffee or espresso and chill it down</li> </ul> <h2>Product Information</h2> <ul> <li>Extracted from premium espresso coffee beans</li> <li>All the flavor of authentic gourmet espresso </li> <li>No sugar added</li> <li>Highly concentrated at an 8 to 1 ratio</li> </ul> <h3>featured recipes </h3> <p class="emphasis"><strong>Iced True Brewed™ Espresso Drinks</strong></p> <blockquote> <p><a href="#">Iced Coffees</a><br /> <a href="#">Mochas & Lattes</a></p> </blockquote> <p class="emphasis"><strong>True Brewed™ Espresso Cocktails</strong></p> <blockquote> <p><a href="#">Cocktails</a><br /> <a href="#">Martinis</a></p> <h1>True Brewed™ Espresso Concentrate</h1> <img src="images/btl_TrueBrewed.jpg" alt="True Brewed Bottle" width="95" height="440" /> <p>True Gourmet Espresso, No Expensive Equipment<br /> <em>Iced Coffee Has Never Been Easier</em></p> <p>Iced coffee and espresso are increasingly popular, year-round. Monin True Brewed Espresso Concentrate gives foodservice operators the ability to get in on the trend and offer delicious espresso based beverages, without investing in expensive equipment. Ideal for iced coffees, frozen lattes, mochas, and cocktails!</p> <p><em>Monin True Brewed™ Espresso Concentrate Contains NO Sugar.</em></p> <h2>Benefits</h2> <ul> <li>No machine investment</li> <li>Quick and consistent </li> <li>No mess, no cleanup</li> <li>No need to brew coffee or espresso and chill it down</li> </ul> <h2>Product Information</h2> <ul> <li>Extracted from premium espresso coffee beans</li> <li>All the flavor of authentic gourmet espresso </li> <li>No sugar added</li> <li>Highly concentrated at an 8 to 1 ratio</li> </ul> <h3>featured recipes </h3> <p class="emphasis"><strong>Iced True Brewed™ Espresso Drinks</strong></p> <blockquote> <p><a href="#">Iced Coffees</a><br /> <a href="#">Mochas & Lattes</a></p> </blockquote> <p class="emphasis"><strong>True Brewed™ Espresso Cocktails</strong></p> <blockquote> <p><a href="#">Cocktails</a><br /> <a href="#">Martini</a></p> </blockquote> <p>Iced coffee and espresso are increasingly popular, year-round. Monin True Brewed Espresso Concentrate gives foodservice operators the ability to get in on the trend and offer delicious espresso based beverages, without investing in expensive equipment. Ideal for iced coffees, frozen lattes, mochas, and cocktails!</p> <p><em>Monin True Brewed™ Espresso Concentrate Contains NO Sugar.</em></p> </blockquote> </div> </div> <div id="footer"> <p>Toll Free<strong> 1-800-966-5225 </strong>| email monin-usa@monin.com | <span class="copyright"> © <?php $startyear = 2007; $thisyear = date('Y'); if ($startyear == $thisyear) { echo "$startyear"; } else { echo "$startyear - $thisyear"; } ?> Monin Gourmet Flavorings</span></p> </div> </body> </html>
  7. The weird thing about my issue is that IE 6 was making the left column bigger than the other browsers. But only if it contained any content. If I understood the Box Model Hack correctly, it says that IE 5 in particular makes things a smaller than you would expect. If could be wrong since I'm having a hard time understanding the hack. What I ended up doing was increasing the left margin of the right column and it seems to be ok now. I have no idea why this works, but it does. Hopefully I haven't cause new problems down the road for myself.
  8. I am having trouble trying to figure out why IE 6 pushes the content of my left column over so that it forces the things in the right column to bump down below. The page looks fine in Netscape, Firefox, Safari and even IE 7. I've been trying to figure this out for days, so help now would be greatly appreciated. Site url: http://monin.com/store Site code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>Monin Store: Your Secure eCommerce</title> <meta name="Keywords" content="syrup, syrups, concentrates, flavors, buy, vanilla, raspberry, mojito, sangria, coffee, recipes, applications, products, merchandise, bottles, sugar, teas, specialty, purchase, online, secure, ecommerce, commerce, protection, sales, food, beverage, cocktails, quality, mocktails, natural, organic, alcohol, free, hot, cold" /> <meta name="Description" content="Buy your favorite Monin gourmet flavored syrups, sugar free products, tea concentrates, merchandise, Mojito, Sangria Mix, and other specialty items online" /> <link href="css/store_screen.css" rel="stylesheet" type="text/css" media="screen" /> <link href="css/store_print.css" rel="stylesheet" type="text/css" media="print" /> <script language="JavaScript" type="text/javascript" src="js/dropmenu.js"></script> </head> <body> <div id="wrapper"> <div id="header"> <a href="index.php"><img src="/store/images/monin_logo.gif" alt="Monin Gourmet Flavorings" width="226" height="71" border="0" /></a> <ul> <li class="first"><a href="/store/index.php">Home</a></li> <li><a href="products.php" onmousedown="return clickreturnvalue()" onmouseover="dropdownmenu(this, event, menu1, '150px')" onmouseout="delayhidemenu()">Product Categories</a></li> <li><a href="http://160113.brightwebsite.com/store/shopcart/">Shopping Cart</a></li> <li><a href="/store/faqs.php">F.A.Q.</a></li> <li><a href="/store/contact.php">Contact</a></li> </ul> </div> <div id="leftcol"> <img src="images/nav_Search.jpg" class="navImg" alt="Search Products" width="175" height="35" /> <form name="search" action="results.php" method="post"> <table width="100%" border="0" cellpadding="0"> <tr align="center"> <td><input name="keyword" type="text" value="keyword" size="14" /> <input type="submit" name="WADbSearch1" value="Go" /></td> </tr> </table> </form> <img src="images/nav_header.jpg" class="navImg" alt="Products" width="175" height="35" /> <ul> <li><a href="category.php?flav_cat_id=7">Accessories</a></li> <li><a href="category.php?flav_cat_id=1">Classic Flavorings</a></li> <li><a href="category.php?flav_cat_id=4">Monin Gourmet Sauces</a></li> <li><a href="category.php?flav_cat_id=3">Monin O'free</a></li> <li><a href="category.php?flav_cat_id=6">Special Offers</a></li> <li><a href="category.php?flav_cat_id=5">Specialty Flavors</a></li> <li><a href="category.php?flav_cat_id=2">Tea Concentrates</a></li> </ul> </div> <div id="main"> <a href="products.php"><img src="images/greeting.jpg" alt="Monin Store" width="605" height="250" border="0" /></a> <h1><img src="images/txt_FeaturedProducts.gif" alt="Featured Products" width="193" height="25" /></h1> <table width="602" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="109" valign="middle"><a href="product_details.php?flavor_ID=43"><img src="images/large/Pomegranate1L.jpg" alt="Pomegranate" width="109" height="120" border="0" /></a></td> <td width="15" valign="top" background="images/prod_devider.gif"><img src="images/spacer.gif" alt="divider" width="1" height="1" /></td> <td width="483" valign="top"><p class="ProdName">Pomegranate</p> <p><strong>Monin Pomegranate</strong> adds passion, mystery and a dash of playfulness to almost any beverage. Perfect in cocktails from martinis to daiquiris, <strong>Monin Pomegranate</strong> also enhances iced tea and lemonade.</p> <p>For recipes or to place an order, <a href="product_details.php?flavor_ID=43">click here</a>.</p></td> </tr> <tr> <td colspan="3"><img src="images/prod_devider03.gif" alt="divider" width="607" height="15" /></td> </tr> </table> <table width="602" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="109" valign="middle"><a href="product_details.php?flavor_ID=36"><img src="images/large/Mojito1L_1.jpg" alt="Mojito Mix" width="109" height="120" border="0" /></a></td> <td width="15" valign="top" background="images/prod_devider.gif"><img src="images/spacer.gif" alt="divider" width="1" height="1" /></td> <td width="483" valign="top"><p class="ProdName">Mojito Mix</p> <p>The classic Mojito has evolved into an easier, better tasting cocktail with Monin Mojito Mix. We captured the essence of the Latin cocktail born in the sultry bars of Havana in a shelf stable, easy to use format. The traditionally labor-intensive Mojito cocktail is now quick and simple – just add rum and club soda! </p> <p>For recipes or to place an order, <a href="product_details.php?flavor_ID=36">click here</a>.</p></td> </tr> <tr> <td colspan="3"><img src="images/prod_devider03.gif" alt="divider" width="607" height="15" /></td> </tr> </table> <table width="602" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="109" valign="middle"><a href="product_details.php?flavor_ID=20"><img src="images/large/RubyRedGrapefruit1L.jpg" alt="Grapefruit, Ruby Red" width="109" height="120" border="0" /></a></td> <td width="15" valign="top" background="images/prod_devider.gif"><img src="images/spacer.gif" alt="divider" width="1" height="1" /></td> <td width="483" valign="top"><p class="ProdName">Grapefruit, Ruby Red</p> <p><strong>Ruby Red Grapefruit</strong> is an exciting new addition to the portfolio of Monin flavors. The unique and naturally sweet-tart flavor of the Ruby Red grapefruit is now available year round!</p> <p>The fresh citrus profile of <strong>Monin Ruby Red Grapefruit</strong> answers the flavor preference of today's consumer, and adds great color and flavor to martini and margaritas, sodas, lemonades, smoothies and slushies.</p> <p>For recipes or to place an order, <a href="product_details.php?flavor_ID=20">click here</a>.</p></td> </tr> <tr> <td colspan="3"><img src="images/prod_devider03.gif" alt="divider" width="607" height="15" /></td> </tr> </table> <table width="602" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="109" valign="middle"><a href="product_details.php?flavor_ID=34"><img src="images/large/MapleSpice1L.jpg" alt="Maple Spice" width="109" height="120" border="0" /></a></td> <td width="15" valign="top" background="images/prod_devider.gif"><img src="images/spacer.gif" alt="divider" width="1" height="1" /></td> <td width="483" valign="top"><p class="ProdName">Maple Spice</p> <p>Monin introduces <b>Maple Spice</b> - a distinctive new flavoring which exudes the rich traditional taste of maple syrup but is designed to blend with hot and cold beverages. A subtle hint of spice provides a delightful flavor twist.</p> <p>For recipes or to place an order, <a href="product_details.php?flavor_ID=34">click here</a>.</p></td> </tr> <tr> <td colspan="3"><img src="images/prod_devider03.gif" alt="divider" width="607" height="15" /></td> </tr> </table> <p>On-premise operators: Please contact your <a href="../us/en/zipsearch.php">Monin representative</a> for distributor information.</p> <p>International Customers should refer to their local Importer/Distributor in <a href="../us/en/dist.php">Monin's International Listing</a>.</p> </div> <div id="footer"> <ul> <li class="first"><a href="index.php">Home</a></li> <li><a href="products.php">Product Categories</a></li> <li><a href="http://160113.brightwebsite.com/store/shopcart/">Shopping Cart</a></li> <li><a href="faqs.php">F.A.Q.</a></li> <li><a href="contact.php">Contact</a></li> </ul> <p>© 2007 Monin Gourmet Flavorings. All rights reserved.</p></div></div> </body> </html> Here's my CSS: html, body { font: 95% Arial, Helvetica, sans-serif; color: #666666; margin: 0px; padding: 0px; height: 100%; background-color: #CCCCCC; background-image: url(../images/pattern.jpg); background-repeat: repeat-x; } h1, h2, h3, h4 { color: #FF9933; } h1 { font-size: 125%; } h2 { font-size: 110%; } h3 { font-size:100%; } a:link { color: #333; text-decoration: underline; } a:visited { color:#666666; text-decoration: underline; } a:hover, a:focus { color:#FF9933; text-decoration:none; } #wrapper { margin: 0px auto; padding: 0px; width: 800px; background-color: #FFFFFF; background-image: url(../images/main_gradient.jpg); background-repeat: repeat-y; } #header { margin: 0; padding: 0; background: #CCCCCC url(../images/header_back.jpg); height: 100px; width: 800px; } #header ul li.first { margin-left: 0; border-left: none; list-style: none; display: inline; } #header ul { color:#FFFFFF; margin: 0; padding:0; text-align: right; } #header ul li { display:inline; margin:0; padding:0 5px; font-weight: bold; font-size: 95%; list-style: url(none); border-left: 1px solid #FF9933; } #header ul li a{ text-decoration:none; color: #666666; padding: 0 10px; margin: 0; } #header ul li a:hover, #nav ul li a:focus { color:#FF9933; background-color: #EBEBEC; } #header img { padding: 0; margin: 5px 0 0 10px; } .imgRight { float: right; margin: 0; clear: right; padding: 0 0 5px 5px; } .imgLeft { float: left; clear: right; margin: 0; padding: 0 5px 5px 0; } #leftcol { float: left; margin-left: 4px; padding: 0; width: 175px; background: #EBEBEB url(../images/gradient.jpg) repeat-y; } #leftcol ul { background-color: #FFFFFF; list-style-type: none; margin: 0; padding: 0; font-size: 80%; } #leftcolul li { padding: 0; margin: 0; } #leftcol ul li a{ background-color: #FFFFFF; color: #666666; display: block; padding: 4px 0 6px 4px; text-decoration: none; background-image: url(../images/gradient.jpg); background-repeat: repeat-y; height: 1%; } #leftcol a:hover, #leftcol a:focus { color: #FF9933; background: url(../images/gradient_over.jpg) repeat-y; } #main { margin: 0px 0px 0px 179px; padding: 5px; background-color: #FFFFFF; width: 611px; clear: right; } #footer { background-color:#FF9933; margin:0; padding:25px 5px 0 5px; background-image: url(../images/footer_gradient.jpg); background-repeat: repeat-x; height: 100%; clear: both; } #footer ul li.first { margin-left: 0; border-left: none; list-style: none; display: inline; } #footer ul { color:#FFFFFF; margin: 0; padding:0; text-align: center; } #footer ul li { display:inline; margin:0; padding:0; font-weight: bold; font-size: 85%; border-left: 1px solid #7B6037; } #footer ul li a{ text-decoration:none; color: #FFFFFF; padding: 0 10px; } #footer ul li a:hover, #nav ul li a:focus { color:#FF9933; } #footer p { font-size: 85%; color:#FFF; text-align: center; } #ProdSuggestions { background-color: #EBEBEC; margin: 0; padding: 5px; border: 1px dotted #999999; } #CatHeader01 { background-color:#EBEBEC; border-bottom: 1px solid #999999; padding-top: 3px; padding-bottom: 3px; } .bannerImg { float: left; clear:both; } /* Begin Drop Menu CSS */ #dropmenudiv{ position:absolute; line-height:18px; z-index:100; border-top: 1px solid #DE7F08; border-right: 1px solid #DE7F08; border-bottom: 0 solid #DE7F08; border-left: 1px solid #DE7F08; } #dropmenudiv a{ width: 100.01%; display: block; text-indent: 3px; border-bottom: 1px solid #DE7F08; padding: 1px 0; font-weight: bold; color: #FFFFFF; font-size: 90%; text-decoration: none; } #dropmenudiv a:hover{ /*hover background color*/ background-color: #EBEBEC; color: #FF9933; } /*End Drop Menu CSS */ .ProdDetails { font-size: 85%; color: #666666; } .ProdStockNumb { font-size: 80%; color: #999999; } .ProdName { font-size: 125%; font-weight: bold; color: #FF9933; } .Price { color:#FF0000; font-size: 90%; } a.customLink1:link, a.customLink1:visited { color: #FF9933; text-decoration: underline; font-weight: bold; } a.customLink1:hover, a.customLink1:focus { color:#999999; text-decoration:none; font-weight: bold; } .redText { color: #FF0000; } .navImg { margin: 0; padding: 0; }
  9. I haven't found the motherload of pre-made MySQL databases, but I found a useful site containing US States and countries of the world. [url=http://27.org/isocountrylist/]http://27.org/isocountrylist/[/url]
  10. Does anyone know if there is a resource out there where you can download and load a pre-made MySQL database that contains already put together information such as US States, countries of the world, etc.?
  11. If I set any height attributes the the content div (#main) it seems to push the margin over to the left an additional 220px in Firefox. I guess I will have to live with the content determining the height. I thought the layout would look better if the footer always appeared at the bottom of the page regardless of content
  12. My problem here is that I can't figure out how the make the fill 100% of the browsers screen. I've changed the background color to gray to tells me that the 100% height value is working on the html and body tag. Now how do I get the footer to go to the bottom of the page? I know this question has been ask many time in this forum, but I can't make sense of getting the previous answers to work in my case. Thanks in advance for any help. Link to site: http://monin.com/us/en/tableless_layout.php Link to CSS: http://monin.com/us/en/css/moninstyle2.css
  13. I'm gonna have to say the obvious and suggest that you double check you are entering the correct host, username, password and root directory. Also click the the test connection button before clicking Ok to make sure you make you are connecting to your server. After you are 100% sure you are entering the correct information, try clicking on the passive ftp option. Good luck.
  14. What I am wondering is... Is there any way to use a ODBC connection to a MS SQL Server database through Dreamweaver 8 for Mac? I've done some googling and came across a couple drivers for Macs to make an ODBC connection but, I couldn't find any information if I'd be able to make/view recordsets with Dreamweaver using any of these drivers. I have never used anything other than a MySQL (w/ PHP) database so I am completely lost on this one. Any suggestions would greatly appreciated.
  15. Thanks for the direction. InterAKT extensions has made life a lot simpler for me.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.