0
的獨立figate文字設置我有以下段落,圖像在側面,我需要在每張圖片上都有一個「figcaption」。我需要設置獨立設置的「figcaption」文本。我怎樣才能做到這一點?來自
此外,我不知道,如果figcaption標記在我的HTML正確使用:
<p><figure><span class="image right"><img src="images/scania_old.jpg" alt="Stoptrans first truck" /><figcaption>Stoptrans first truck in the 80's</figcaption></span></figure>Vestibulum ultrices risus velit, sit amet.</p>
我image.right和image.left類有這樣的設置:
.image.right {
float: right;
margin: 0 0 1em 1.5em;
top: 0.25em;
}
.image.left {
float: left;
margin: 0 1.5em 1em 0;
top: 0.25em;
}
而且我需要我的無花果使用此設置:
font-size: 75%;
font-style: italic;
text-align: center;