Macro Language Reference > PIs > Block > <?blockwidthflex>
  
<?blockwidthflex>
Description
By default, a block will fill the width of its parent container. Its width will also vary if it flows into a new parent container of a different width, for example a block flowing from a portrait page to a landscape page will adjust its width accordingly. When adjusting the width of a block in these instances, all columns and gutters within the block will also be adjusted so they retain the same proportions. These default behaviors also apply to nested blocks.
There are two options by which you can override the default behavior and prevent the block width from varying:
1. Specify<?blockwidthflex=0> for the block to deactivate the default behavior. The block will retain the width that PTC ALD originally calculated for it, based on its column, rule, and gutter definitions.
2. Give the block an explicit width using <?blockwidth>.
Syntax
<?blockwidthflex num:n>
num
0
Do not allow the block width to vary based on the width of its parent container
1
Permit the block width to vary
Related Links