嘿,你如何删除段落之间的边距
还有更好的方法来设计照片的样式吗。
<!DOCTYPE html>
<html>
<body>
<p class="auto-style4">
<img alt="" class="auto-style5" height="500" src="i14png.png" style="float: right" width="500" /><strong>Apple</strong></p>
<p class="auto-style3">
iPhone
14 Pro</p>
<p class="auto-style6" style="width: 718px; height: 107px">A magical new way to
interact with iPhone. Groundbreaking safety features designed to save lives. An
innovative 48MP camera for mind-blowing detail. All powered by the ultimate
smartphone chip.</p>
<p class="auto-style7" margin=" 0 auto "style="width: 720px; height: 102px">
<span>The new Pro
camera system adds a 2x optical-quality Telephoto to its zoom range, putting
tons of framing flexibility in your pocket. Up your frame game.</span></p>
</body>
</html>
Ps:你需要扩大狙击手才能看到白色缺口
如果你能告诉我如何去除它,那将是非常有用的。谢谢
段落之间的空白
只需从p
标签中删除height
<!DOCTYPE html>
<html>
<body>
<p class="auto-style4">
<img alt="" class="auto-style5" height="500" src="i14png.png" style="float: right" width="500" /><strong>Apple</strong></p>
<p class="auto-style3">
iPhone
14 Pro</p>
<p class="auto-style6" style="width: 718px;">A magical new way to
interact with iPhone. Groundbreaking safety features designed to save lives. An
innovative 48MP camera for mind-blowing detail. All powered by the ultimate
smartphone chip.</p>
<p class="auto-style7" margin=" 0 auto "style="width: 720px;">
<span>The new Pro
camera system adds a 2x optical-quality Telephoto to its zoom range, putting
tons of framing flexibility in your pocket. Up your frame game.</span></p>
</body>
</html>