View Single Post
Old 07-08-2009, 06:41 AM   #7 (permalink)
groogruxking40
Junior Member
 
Join Date: 06-23-09
Posts: 20
iTrader: 0 / 0%
Latest Blog:
None

groogruxking40 is liked by many
live link and my contactpage.php

Quote:
Originally Posted by Izzmo View Post
.. We need a image or something so I can see what you are talking about.

Live link possibly?
here is the live link

chrstiancouriernewspaper.com/blogbase/contactpage.php

here is the code for that page:

Code:
// EOH ?> <form id="gbcf-form" method="post" action="<?php echo htmlentities($action); ?>#results"> <fieldset class="main-set"<?php echo $main_border; ?>> <legend class="main-legend"><span<?php echo $main_legnd; ?>><?php echo $main_legend; ?></span></legend> <label class="opt-label main-label"><?php echo $main_label; echo'<span>'.$required_combo.'</span>'; ?></label><?php echo $add_break; ?> <!--required set 1--> <fieldset class="req-set"<?php echo $req_border; ?>> <legend class="req-legend"><span<?php echo $sub_legnds; ?>><?php echo $req1_legend; ?></span></legend> <td> <label id="name-error" for="name" class="req-label"<?php echo $name_errlbl; ?>><?php echo $name_label; echo $required_symbol; ?></label><?php echo $add_break; ?> <input type="text" class="text-med" name="name" value="<?php echo $name_value; ?>" size="32" maxlength="<?php echo $name_len; ?>" id="name"<?php echo $name_border; ?><?php echo $x_or_h; ?>><?php echo $add_break; ?> <label id="email-error" for="email" class="req-label"<?php echo $email_errlbl; ?>><?php echo $email_label; echo $required_symbol ?></label><?php echo $add_break; ?> <input type="text" class="text-med" name="email" value="<?php echo $email_value; ?>" size="32" maxlength="<?php echo $email_len; ?>" id="email"<?php echo $email_border; ?><?php echo $x_or_h; ?>><?php echo $add_break; ?> <?php if(($get_org != "yes") && ($get_phone != "yes") && ($get_website != "yes") && ($get_address != "yes") && ($get_optmenu != "yes")) { // Nada } else { ?> </fieldset> <!--optional set--> <table> <tr> <td> <fieldset class="opt-set" <?php echo $opt_border; ?>> <legend class="opt-legend"><span<?php echo $sub_legnds; ?>><?php echo $opt_legend; ?></span></legend> <?php if($get_org != "yes") { // Nada } else { ?> <label id="org-error" for="org" class="req-label"<?php echo $org_errlbl; ?>><?php echo $org_label; ?></label><?php echo $add_break; ?> <input type="text" class="text-med" name="org" value="<?php echo $org_value; ?>" size="32" maxlength="<?php echo $org_len; ?>" id="org"<?php echo $org_border; ?><?php echo $x_or_h; ?>><?php echo $add_break; ?><td> <?php } ?> <?php if($get_phone != "yes") { // Nada } else { ?> <label id="phone-error" for="phone" class="req-label"<?php echo $phone_errlbl; ?>><?php echo $phone_label; ?></label><?php echo $add_break; ?> <input type="text" class="text-med" name="phone" value="<?php echo $phone_value; ?>" size="32" maxlength="<?php echo $phone_len; ?>" id="phone"<?php echo $phone_border; ?><?php echo $x_or_h; ?>><?php echo $add_break; ?> <td><?php } ?> <?php if($get_address != "yes") { // Nada } else { ?> <label id="address1" for="address" class="req-label"<?php echo $addy1_errlbl; ?>><?php echo $addy1_label; ?></label><?php echo $add_break; ?> <input type="text" class="text-long address" name="address" value="<?php echo $addy1_value; ?>" size="42" maxlength="<?php echo $addy1_len; ?>" id="address"<?php echo $addy1_border; ?><?php echo $x_or_h; ?>> <label id="addy2-error" for="address2" class="req-label address2"<?php echo $addy2_errlbl; ?>><?php echo $add_break; ?><?php echo $addy2_label; ?></label><?php echo $add_break; ?> <input type="text" class="text-long address2" name="address2" value="<?php echo $addy2_value; ?>" size="42" maxlength="<?php echo $addy2_len; ?>" id="address2"<?php echo $addy2_border; ?><?php echo $x_or_h; ?>><?php echo $add_break; ?> <tr><td><td> <label id="city-error" for="city" class="req-label"<?php echo $city_errlbl; ?>><?php echo $city_label; ?></label><?php echo $add_break; ?> <input type="text" class="text-med" name="city" value="<?php echo $city_value; ?>" size="32" maxlength="<?php echo $city_len; ?>" id="city"<?php echo $city_border; ?><?php echo $x_or_h; ?>><?php echo $add_break; ?> <td><?php if($language != "sv") { ?> <label id="state-error" for="state" class="req-label"<?php echo $state_errlbl; ?>><?php echo $state_label; ?></label><?php echo $add_break; ?> <input type="text" class="text-med" name="state" value="<?php echo $state_value; ?>" size="32" maxlength="<?php echo $state_len; ?>" id="state"<?php echo $state_border; ?><?php echo $x_or_h; ?>><?php echo $add_break; ?> <tr><td><td><?php } ?> <label id="postcode-error" for="postcode" class="req-label"<?php echo $postcode_errlbl; ?>><?php echo $postcode_label; ?></label><?php echo $add_break; ?> <input type="text" class="text-short" name="postcode" value="<?php echo $postcode_value; ?>" size="22" maxlength="<?php echo $postcode_len; ?>" id="postcode"<?php echo $postcode_border; ?><?php echo $x_or_h; ?>><?php echo $add_break; ?> <td> <label id="country-error" for="country" class="req-label"<?php echo $country_errlbl; ?>><?php echo $country_label; ?></label><?php echo $add_break; ?> <input type="text" class="text-short" name="country" value="<?php echo $country_value; ?>" size="22" maxlength="<?php echo $country_len; ?>" id="country"<?php echo $country_border; ?><?php echo $x_or_h; ?>><?php echo $add_break; ?> <tr><td><td><?php } ?> <?php if($get_website != "yes") { // Nada } else { ?> <label id="website-error" for="website" class="req-label"<?php echo $web_errlbl; ?>><?php echo $web_label; ?></label><?php echo $add_break; ?> <input type="text" class="text-med" name="website" value="<?php echo $web_value; ?>" size="32" maxlength="<?php echo $web_len; ?>" id="website"<?php echo $web_border; ?><?php echo $x_or_h; ?>><?php echo $add_break; ?> <td><?php } ?> <?php if($get_optmenu != "yes") { // Nada } else { ?> <label id="optmenu-error" for="option-menu" class="req-label"<?php echo $optmenu_errlbl; ?>><?php echo $optmenu_label; ?></label><?php echo $add_break; ?> <select class="select" name="option-menu" id="option-menu"<?php echo $optmenu_border; ?>> <?php echo $optmenu_data; reset($options); while (list(, $opts) = each($options)) { echo ' <option value="'.$opts.'">'.$opts.'</option>'."\n"; } ?> </select><?php echo $add_break; ?> <?php } ?></tr></td></table> </fieldset> <!--required set 2--> <table><tr><td> <fieldset class="req-set"<?php echo $req_border; ?>> <legend class="req-legend"><span<?php echo $sub_legnds; ?>><?php echo $req2_legend; ?></span></legend> <?php } ?> <label id="subject-error" for="subject" class="req-label"<?php echo $subject_errlbl; ?>><?php echo $subject_label; echo $required_symbol; ?></label><?php echo $add_break; ?> <select class="select" name="subject" id="subject"<?php echo $subject_border; ?>> <?php echo $subject_data; reset($subjects); while (list(, $subs) = each($subjects)) { echo ' <option value="'.$subs.'">'.$subs.'</option>'."\n"; } ?> </select><?php echo $add_break; ?> <label id="message-error" for="message" class="req-label"<?php echo $message_errlbl; ?>><?php echo $message_label; echo $required_symbol; ?></label><?php echo $add_break; ?> <textarea class="textarea" rows="12" cols="60" name="message" id="message"<?php echo $message_border; ?>><?php echo $message_value; ?></textarea><?php echo $add_break; ?> <label id="antispam-error" for="antispam" class="req-label"<?php echo $antispam_errlbl; ?>><?php echo $spam_question; echo $required_symbol; ?></label><?php echo $add_break; ?> <input type="text" class="text-short" name="antispam" value="<?php echo $spam_value; ?>" size="22" maxlength="<?php echo $spam_len; ?>" id="antispam"<?php echo $antispam_border; ?><?php echo $x_or_h; ?>> <tr><td> <label id="antispam-error" for="antispam" class="req-label" <?php echo $antispam_errlbl; ?>><?php echo $spam_explain; ?></label><?php echo $add_break; ?> </fieldset> <div<?php echo $offset; ?>> <label id="honeypot-error" for="honeypot" class="opt-label"><?php echo $honeypot_label; ?></label><?php echo $add_break; ?> <input type="text" class="text-med" name="honeypot" value="" size="32" maxlength="255" id="honeypot"<?php echo $x_or_h; ?>><?php echo $add_break; ?> <?php $form_key = "$ext_key$set_key"; echo '<input type="hidden" name="hidden" value="fk'.$form_key.'" id="hidden" alt="hidden"'.$x_or_h.'>'."\n"; ?> </div> <?php if($offer_cc_opt != "yes") { // Nada } else { ?> <label id="cc-opt-error" class="opt-label check"> <input class="checkbox" type="checkbox" name="cc-opt" id="cc-opt" value="cc"<?php echo $cc_chk_value; ?><?php echo $x_or_h; ?>>&nbsp;&nbsp;<?php echo $cc_label; ?></label><?php echo $add_break; ?> <?php } ?> <input type="submit" class="button" name="<?php echo $form_id; ?>" id="<?php echo $form_id; ?>" value="<?php echo $submit_text; ?>" alt="<?php echo $submit_text; ?>"<?php echo $x_or_h; ?>><br<?php echo $x_or_h; ?>> </td></tr></table> </form><?php
what I need is

1- for some reason everything got shifted center, but it should be aligned left.
and the 2nd column should be aligned center

2- that goofy empty fieldset space under the anti-spam deleted

any ideas??

thanks

Last edited by htmlbasictutor; 07-08-2009 at 10:04 AM..
groogruxking40 is offline   Reply With Quote