How to apply Fieldset
An SP form is an html table, where each field is a table row. You cannot simply insert a fieldset around table rows. You could move all fields outside the table and wrap them around a fieldset, but that would break existing CSS.
You could simply add a caption to the table. If you want, you can also position it right on the table border. This will add such a caption:
$(".mytable").prepend("<caption style='position: relative;top: 8px;width: 100px;background: white;margin-left: 50px;'>Monthly savings</caption>")
You have to add a CSS Class name 'mytable' (in Forms Designer) to the table for this to work.
You may have to tweek it a little bit to suit your needs. If you change the caption's text you'll have to change its width too.
Note that this will leave a small amount of space above the table.
Is this okay for you?
You could simply add a caption to the table. If you want, you can also position it right on the table border. This will add such a caption:
$(".mytable").prepend("<caption style='position: relative;top: 8px;width: 100px;background: white;margin-left: 50px;'>Monthly savings</caption>")
You have to add a CSS Class name 'mytable' (in Forms Designer) to the table for this to work.
You may have to tweek it a little bit to suit your needs. If you change the caption's text you'll have to change its width too.
Note that this will leave a small amount of space above the table.
Is this okay for you?
-
- Information
-
Who is online
Users browsing this forum: No registered users and 12 guests