Jump to content

diptiranjan

Members
  • Posts

    21
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

diptiranjan's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. hi ,frds i am getting trouble . here is my problem captcha is working fine in firefox 3.6.16 but not in IE6 help me frds.
  2. also do this a little change <div class="tbl-row"> <div class="title-lbl">Site: </div> <div class="title-text">xyz ?></div> <img src="{ImgSpacer}" alt="" width="1" height="20" /><br /> <div class="contents-text">jhjhkjkljljlkjl;kl;k; </div> <div> <span class="subon-text">fsdfsfdsfdsfdsfdssf</span> <span class="subon-lbl"> at: </span> <span class="subon-text">fsdsfsfdsfsdfsvg tbbc</span> <span class="subon-lbl"> on: </span> <span class="subby-text">cbvtgg vvxvcvxxv</span> <span id="submit">Submitted by: </span> </div> </div> #submit{border:1px solid gold;margin-left:200px;}
  3. hi just remove the float:right from css then it wll work .subby-lbl { color : #F98537; display : inline; float : right; font-size : 15px; vertical-align : top; }
  4. @Maq what is tags no need to use here. man
  5. @freelance84 is your problem solved?? may i know what was the solution?
  6. XHTML 1.0 Strict This DTD contains all HTML elements and attributes, but does NOT INCLUDE presentational or deprecated elements (like font). Framesets are not allowed. The markup must also be written as well-formed XML. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> XHTML 1.0 Transitional This DTD contains all HTML elements and attributes, INCLUDING presentational and deprecated elements (like font). Framesets are not allowed. The markup must also be written as well-formed XML. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> XHTML 1.0 Frameset This DTD is equal to XHTML 1.0 Transitional, but allows the use of frameset content. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> also try i have less idea about ie9
  7. hi just follow this very simple and easy you can do that easily . <!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>Untitled Document</title> <style type="text/css"> h1{font-size:9px;font-family:Arial, Helvetica, sans-serif;color:#CC3300;} p{font-size:9px;font-family:Arial, Helvetica, sans-serif;color:#33FF99;} #test1head{ width:100px; border:1px solid gold; float:left; height:50px; } #test2head{ width:100px; border:1px solid gold; float:left; height:50px; } #test3head{ width:100px; border:1px solid gold; float:left; height:50px; } </style> </head> <body> <div id="test1head"> <h1>test1</h1> <p>text for test1...</p> </div> <div id="test2head"> <h1>test2</h1> <p>text for test2...</p> </div> <div id="test3head"> <h1>test3</h1> <p>text for tes3...</p> </div> </body> </html>
  8. what you want exactly ?try to drag the button image using Faststone capture so that it is clear to everybody?
  9. The font-family property allows you to specify a family for your font. A font's family is also sometimes referred to as it's "face" (in HTML at least). It's what most people refer to as the "name" of the font, such as Times New Roman, or Arial, or Verdana. Many people often wonder why this property is named font-family and not font-name or font-face or something similar? Well, it's kind of technical but I'll try to explain it. Say, for example, I have two fonts on my system, "Verdana" and "Verdana Bold". These are actually two seperate and distinct fonts. They are stored as two seperate files on my computer. Although these two fonts have different "names" ("Verdana" and "Verdana Bold"), they share the same font "family". They both belong to the family "Verdana". So that is why if we need to specify the Verdana font on our webpage, we specify it's font-family property like so... font-family: verdana, sans-serif; You may be wondering "Well, what's the comma there for? And what's sans-serif doing there?" Well, that's what's called a fallback font. CSS has this nifty feature when specifying a font-family called a fallback font. Fallback fonts are used in case the first font you specify is unavailable. Also follow cssfreakie "if it then doesn't work get firebug and see where it get's it style from .Also a good idea to have some backup files in case the OS doesn't have verdana installed"
  10. <?php $con = mysql_connect("host","db","db"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_query("SET NAMES 'utf8'"); mysql_select_db("db", $con); if (count($_POST)) { extract($_POST); if(mysql_num_rows() !=0) { while ($row_RsDownPayment = mysql_fetch_assoc($RsDownPayment)){ $query="UPDATE proposals SET StatusID='$_POST[statusID]' WHERE ProposalID = '$row_RsDownPayment[ProposalID]'"; mysql_query($query,$con); } } } ?> <!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>Untitled Document</title> </head> <body> <form id="form1" name="form1" method="post" action=""> <table cellspacing="0" cellpadding="0" border="1"> <tr> <td width="75">Proposal</td> <td width="75">Supplier</td> <td width="75">Downpayment</td> <td width="75">Payment Method</td> <td width="75">Status</td> </tr> <tr> <td><input type="text" name="proposal" value="<?=$_POST['proposal']?>"></td> <td><input type="text" name="supplier" value="<?=$_POST['supplier']?>"></td> <td><input type="text" name="downpayment" value="<?=$_POST['downpayment']?>"></td> <td><input type="text" name="paymentmethod" value="<?=$_POST['paymentmethod']?>"></td> <td><input type="text" name="statusid" value="<?=$_POST['statusid']?>"></td> <td><input type="submit" value="Update" /></td> </tr> </form> ?> </table> </body> </html> hi try this is it working or not??
  11. how can i say without looking your data base table and queries???
  12. <? function submit_form(){ $data = array(); $output = array(); $data['error'] = 0; $data['success'] = 0; $name = $_POST['name']; $data['error_msg'] = ''; $data['success_msg'] = ''; $form = $this->model->get_form($name); $values = array(); $required = explode(',', str_replace(' ', '', $form['required_fields'])); $optional = explode(',', str_replace(' ', '', $form['optional_fields'])); if($required){ foreach($required as $r){ $field = $this->model->get_field(array('form_id' => $name, 'name' => $r)); if($field['display_name']){ $display_name = $field['display_name']; } else { $display_name = $r; } if($r != ''){ if($_POST[$r] == ''){ $data['error_msg'] .= '<li>The field "' . $display_name .'" is required.</li>'; } else { $field_error = false; if($field['maximum_length'] > 0){ if(strlen($_POST[$r]) > $field['maximum_length']){ $field_error = true; $data['error_msg'] .= '<li>The field "' . $display_name .'" should be less than ' . $field['maximum_length'] . ' characters long.</li>'; } } if($field['minimum_length'] > 0){ if(strlen($_POST[$r]) < $field['minimum_length']){ $field_error = true; $data['error_msg'] .= '<li>The field "' . $display_name .'" should be more than ' . $field['minimum_length'] . ' characters long.</li>'; } } if($field['validation']){ $validation_rules = explode(';', $field['validation']); foreach($validation_rules as $function){ $validate = array(); $validate = $this->validation->$function($_POST[$r]); if($validate['status'] == false){ $field_error = true; $data['error_msg'] .= '<li>For the field "' . $display_name .'": '. $validate['error'] . '</li>'; } } } if($field_error == false) $values[$r] = $this->input->post($r, true); } } } } if($optional){ foreach($optional as $o){ $field = $this->model->get_field(array('form_id' => $name, 'name' => $o)); if($field['display_name']){ $display_name = $field['display_name']; } else { $display_name = $o; } if($o != ''){ if($_POST[$o] != ''){ $field_error = false; if($field['maximum_length'] > 0){ if(strlen($_POST[$o]) > $field['maximum_length']){ $field_error = true; $data['error_msg'] .= '<li>The field "' . $display_name .'" should be less than ' . $field['maximum_length'] . ' characters long.</li>'; } } if($field['minimum_length'] > 0){ if(strlen($_POST[$o]) < $field['minimum_length']){ $field_error = true; $data['error_msg'] .= '<li>The field "' . $display_name .'" should be more than ' . $field['minimum_length'] . ' characters long.</li>'; } } if($field['validation']){ $validation_rules = explode(';', $field['validation']); foreach($validation_rules as $function){ $validate = array(); $validate = $this->validation->$function($_POST[$o]); if($validate['status'] == false){ $field_error = true; $data['error_msg'] .= '<li>For the field "' . $display_name .'": '. $validate['error'] . '</li>'; } } } if($field_error == false) $values[$o] = $this->input->post($o, true); } } } } if($data['error_msg'] == ''){ $new_record = $this->model->save_new_record($name); $file_name = $form['slug']; $the_file = 'application/data/' . $file_name . '.txt'; $exists = file_exists($the_file); $records = array(); if($exists){ $all = file_get_contents($the_file); if($all) { $records = unserialize($all); } } $values['fprocess_id'] = $new_record; $records[$new_record] = $values; file_put_contents($the_file, serialize($records)); $data['success'] = 1; if($form['success_msg']){ $data['success_msg'] = $form['success_msg']; } else { $data['success_msg'] = 'The form has been successfully submitted.'; } } else { $data['error'] = 1; } $output['status'] = 1; echo $name; } ?> <!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>Untitled Document</title> </head> <body> <form id="login" action="" method="post" enctype="multipart/form-data" autocomplete="off"> <label for="username">Login:</label> <input size="20" type="text" name="username" id="username" /> <label for="password">Password:</label> <input size="20" type="password" id="password" name="password" maxlength="20"/> <input type="checkbox" name="rem" id="rem" value="1" class="checkbox"/> <label for="rem">Check this box to remember login</label> <button type="submit" value="Login Now!" onmouseover="this.style.backgroundPosition='bottom';" onmouseout="this.style.backgroundPosition='top';" onclick="return submit_form();">Login Now!</button> </form> </body> </html> hi try this is it working or not!
×
×
  • 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.