Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Text before multiselect

teknoteam free asked 5 years ago


Expected behavior

I would like a simple text (div or heading) before multiselect

Actual behavior

Multiselect doesn't render well

Resources (screenshots, code snippets etc.)

https://mdbootstrap.com/snippets/jquery/teknoteam/1161168

Thank you


MDBootstrap staff answered 5 years ago


Hi teknoteam,

I forked from your snippet and created proper HTML structure. https://mdbootstrap.com/snippets/jquery/pjoter-2-0/1163268

Our material select with label requires its own bootstrap grid structure to create required styles.

If you need additional help I am here for you.

Best Regards, Piotr


teknoteam free commented 5 years ago

Thanks. And how do you reduce that very big margin between those two elements?


teknoteam free commented 5 years ago

Without label and with margin-top:0, it works. Thanks.


MDBootstrap staff commented 5 years ago

Great to hear that!



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.8.9
  • Device: Desktop
  • Browser: Firefox
  • OS: Windows 7
  • Provided sample code: No
  • Provided link: Yes