Jump to content
php.lv forumi

Recommended Posts

Posted

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?

Posted

google saka ka

Name is for form controls and specifies stuff for server side handling. You

should be looking at the id attribute for client side stuff.

Posted

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'])

{

 

}

Posted

<!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

Posted (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 by tiy
×
×
  • Create New...