Can't get rid of numbers next to my form fields.

I’ve got this php mailer form and I modified some of the code. Now all of a sudden I’ve got numbers showing up next to the form fields and I cant find out how to get rid of them. I’ve been playing with it a couple of days now with no luck. Any help would be appreciated.

[php]<?php

This block must be placed at the very top of page.

--------------------------------------------------

require_once( dirname(FILE).’/form.lib.php’ );
phpfmg_display_form();

--------------------------------------------------

function phpfmg_form( $sErr = false ){
$style=" class=‘form_text’ ";

?>

Please check the required fields
  1. First Name: *
  2. Last Name: *
  3. Phone: *
  4. E-Mail: *
  5. Address: *
  6. City & ZIP: *
  7. Type of Service: *
    In Home
    Off Site
    Remote
  8. Computer Make:  
    ex. Dell or Hp
  9. Computer Model:  
    ex. Inspiron 620
  10. Comments:  
    <div id='field_9_tip' class='instruction'></div>
    </div>
    
  11. Security Code: *
  12.         <li>
            <div class='col_label'>&nbsp;</div>
            <div class='form_submit_block col_field'>
    
                <input type='submit' value='Submit' class='form_button'>
                <span id='phpfmg_processing' style='display:none;'>
                    <img id='phpfmg_processing_gif' src='admin.php?mod=image&amp;func=processing' border=0 alt='Processing...'> <label id='phpfmg_processing_dots'></label>
                </span>
            </div>
            </li>
    
<?php phpfmg_javascript($sErr); } # end of form function phpfmg_form_css(){ ?>
<style type='text/css'>

body{
margin-left: 18px;
margin-top: 18px;
}

body{
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 13px;
color : #474747;
background-color: #C5D7F2;
}

#wrapper {
width:600px;
}

select, option{
font-size:13px;
}

ol.phpfmg_form ol{

list-style-type:none;
    display:inline;
padding:0px;
margin:0px;

}

ol.phpfmg_form ol li{
margin-bottom:5px; list-style-type:none;
clear:both;
display:inline;
overflow:hidden;

}

.form_field, .form_required{
font-weight : bold;
}

.form_required{
color:red;
margin-right:8px;
}

.field_block{
margin-bottom: 10px;
}

.form_submit_block{
padding-top: 3px;
}

.text_box, .text_area, .text_select {
width:250px;
}

.text_area{
width:100%;
height:100px;
overflow:hidden;
}

.form_error_title{
font-weight: bold;
color: red;
}

.form_error{
background-color: #F4F6E5;
border: 1px dashed #ff0000;
padding: 10px;
margin-bottom: 10px;
}

.form_error_highlight{
background-color: #F4F6E5;
border-bottom: 1px dashed #ff0000;
}

div.instruction_error{
color: red;
font-weight:bold;
}

hr.sectionbreak{
height:1px;
color: #ccc;
}

#one_entry_msg{
background-color: #F4F6E5;
border: 1px dashed #ff0000;
padding: 10px;
margin-bottom: 10px;
}

<?php phpfmg_text_align();?> <?php } # end of css # By: formmail-maker.com ?>[/php]

Numbers are probably because you’re using ordered list html tag


From your css it seem there were nested lists i.e.
, but you probably removed this?

Anyway, to get rid of those numbers, update this line in your css code:

ol.phpfmg_form ol{

making it look like this:

ol.phpfmg_form ol, ol.phpfmg_form {

Thank you so much. That fixed it.

Sponsor our Newsletter | Privacy Policy | Terms of Service