这里是我正在使用的示例代码:
http://jsfiddle.net/LbUFg/
HTML 代码如下:
<div class="body">
<div class="variation1 font700 green1">
<h2>
sample <span class="divider"> arrowshape </span>
</h2>
</div>
<div class="clear"></div>
<div class="variation2 font700 green2">
<h2>
as the text increases the font size must decrease but the block height must remain same <span class="divider"> as the text increases the font size must decrease but the block height must remain same </span>
</h2>
</div>
<div class="clear"></div>
<!-- OTHER HTML -->
</div>
我希望调整文本以使其适合div,而不改变所示箭头块的尺寸大小(文本大小可以更改但不要更改块大小)。箭头块必须像样例箭头一样,并且我遇到了variation2中显示的问题。请问有人能帮助我吗?