cucumber Posted August 2, 2006 Report Posted August 2, 2006 kapec xhtml 1.0 validators izmet kludu ja raksta <img src="path.gif" name="img" id="abc" /> vai <img src="path.gif" name="img" /> gribas tagam img pieskit name atributu?
v3rb0 Posted August 2, 2006 Report Posted August 2, 2006 google saka ka Name is for form controls and specifies stuff for server side handling. Youshould be looking at the id attribute for client side stuff.
cucumber Posted August 2, 2006 Author Report Posted August 2, 2006 Nu ja man lai img butu ieksh formas un pec nospieshanas man vajaga uzzinat kas bija nosipiests , bet uz name tak ir erros , bet id neder? isset($_POST['img_x'] && $_POST['img_y']) { }
v3rb0 Posted August 2, 2006 Report Posted August 2, 2006 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=windows-1250" /> <title></title> </head> <body> <form method="post" action="http://localhost/t.php"> <input name="poga" type="image" src="http://php.lv/f/style_images/1/p_report.gif" /> </form> </body> </html> validējas un rāda x y koordinātas
tiy Posted August 2, 2006 Report Posted August 2, 2006 (edited) kapec kods neiet? td naizpleshas pa visu ekranu , bet ja ninem "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">" pirmo rindu viss trada ? :( <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>interface</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body style="margin: 0px; padding: 0px;"> <!-- <table style="width: 100%; height: 100%;" border="1px"> nomainot neko nedot ? ?? --> <table width="100%" height="100%" border="1px"> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> </table> </body> </html> Edited August 2, 2006 by tiy
Recommended Posts