Skip to main content
CBS widgets are responsive: a widget stretches to fill the width of its parent element. You control the size by controlling the container.

Fluid (fill available width)

Placed directly in the page or a full-width element, the widget expands to the viewport width:

Fixed width

Wrap the widget in a container with a set width and it fits that width:

Tips

  • Set the width on the parent element, not the script tag. The widget reads its width from the container.
  • For side-by-side calculators, see Multi-calculator.
If a widget isn’t sizing the way you expect, see Widget won’t resize in my layout.