Topic: Trying to add fieldset with legend and border

David Arkell free asked 1 year ago


Expected behavior

I'm trying to duplicate something like in the following link. Using the fieldset and legend tags.

https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_legend

I've tried uploading an image but was unable to.

Actual behavior

I can't get the legend to appear over the border. Is there some style or other way to do this?


Michał Duszak staff commented 1 year ago

I have prepare a snippet for you: https://mdbootstrap.com/snippets/standard/m-duszak/3285448#html-tab-view

References: https://mdbootstrap.com/docs/standard/utilities/position/ https://mdbootstrap.com/docs/standard/utilities/borders/ https://mdbootstrap.com/docs/standard/forms/input-fields/



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • User: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 3.9.0
  • Device: Laptop
  • Browser: Chrome
  • OS: OSX
  • Provided sample code: No
  • Provided link: Yes