Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fieldset not properly displaying

I'm trying to use a fieldset but it is not working as exactly i wanted... The legend is displayed outside fieldset...But I want it covered like normal fieldsets. My code is,

<fieldset style="border:1px solid #999; border-radius:8px; box-shadow:0 0 8px #999;padding:6px;">
<legend style="text-align: left;margin-top:-15px;">References</legend>
//Some Text...
</fieldset>
like image 376
Pedi Avatar asked Mar 19 '26 22:03

Pedi


1 Answers

<fieldset>
  <legend>References</legend>
  //text
 </fieldset>
like image 99
Tushar Avatar answered Mar 22 '26 13:03

Tushar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!