Jump to content
php.lv forumi

xhtml img


cucumber

Recommended Posts

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?

Link to comment
Share on other sites

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

{

 

}

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

×
×
  • Create New...