私はお互いに隣り合った3つの画像を少しずつ空白で入れようとしていますが、サンプルコードでオンラインでコードが見つかりましたが、それは私にとってはうまくいかないのですか?ブラウザーでは、イメージは大きなギャップを置いて別のイメージの上に置かれます。画像が正しく整列していないのはなぜですか?
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head><title>pizza</title></head>
<body>
<h1 align="center"><font color="red" face="calibri">buy one get one free </font></h1>
<p align="center"><font color="black" face="calibri">order online for discount <span style="coloryellow">extra toppings,</span><span style="color:green"> stuffed crust</span> and<span style="color:green"> call now</span></font></p>
<br></br>
<br></br>
<div>
<img src="pcrt1.png"></img>
<img src="pcrt2.png"></img>
<img src="pcrt3.png"></img>
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
シークレットはCSS - と呼ばれます。これはあなたのhtml要素の振る舞いをスタイルするために使用されます。 –
CSSについて聞いたことがありますか? – Nacho