0
我該如何在CSS中使用像水平角一樣的「V」形? 看起來像這樣的角落<>好像角落在<legend>
以及<fieldset>
中都出現在左側和右側。如何使CSS變得像「<legend>」和「<fieldset>」這樣的水平角「V」?
#FieldsetSeekBox {
padding: 8px 1px;
border: 1px solid #a1a1a1;
}
#LegendStyle {
border-style: none;
background-color: #a1a1a1;
font: bold 13px Tahoma, Arial, Helvetica;
color: #000000;
padding-left: 10px;
position: relative;
border-radius: 8px 8px 0px 0px;
}
<fieldset id="FieldsetSeekBox">
<legend id="LegendStyle"> Web Search </legend>
<input type="text" name="u" size="70" value="" placeholder="Type your Search here and click Search..." id="SeekBox">
</fieldset>
我不知道我明白你的意思,所以畫面會很好 – LGSon