0

How would you guys approach this in the best semantic way possible?

I have a background for the title (inline) which is padded on margins but when the title breaks to the next row it loses the padding on the first row, on the right side.

4

1 回答 1

0

制作<h2>一个inline-block

display: inline-block;

这将使它成为与文本内联的块。

于 2012-10-12T14:50:52.200 回答