각 이미지 사이에 작은 공백을 사용하여 서로 옆에 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