> For the complete documentation index, see [llms.txt](https://docs.pentaho.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pentaho.com/pba-report-designer/style-properties-reference/size-and-position-styles.md).

# Size and Position styles

**Size and Position** styles control the size and position of the selected element.

| Property Name                | Data Type | Purpose                                                                                                                                                                                              |
| ---------------------------- | --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **height**                   | Decimal   | The element's preferred height. If defined, this overrides all other height definitions including the **dynamic-height** flag                                                                        |
| **width**                    | Decimal   | The preferred width. If defined, this width overrides all other layout rules                                                                                                                         |
| **x**                        | Decimal   | The X-Coordinate where the element should be placed                                                                                                                                                  |
| **y**                        | Decimal   | The Y-Coordinate where the element should be placed                                                                                                                                                  |
| **visible**                  | Boolean   | A flag indicating whether the element will be printed                                                                                                                                                |
| **invisible-consumes-space** | Boolean   | A flag indicating whether an element set to visible maintains its space                                                                                                                              |
| **dynamic-height**           | Boolean   | A flag indicating whether the field should expand its height based on the content it contains                                                                                                        |
| **min-height**               | Decimal   | The element's minimum height                                                                                                                                                                         |
| **max-height**               | Decimal   | The element's maximum height                                                                                                                                                                         |
| **min-width**                | Decimal   | The element's minimum width                                                                                                                                                                          |
| **max-width**                | Decimal   | The element's maximum width                                                                                                                                                                          |
| **x-overflow**               | Boolean   | Defines whether content can overflow the element's layout box to the right                                                                                                                           |
| **y-overflow**               | Boolean   | Defines whether content can overflow the element's layout box to the bottom                                                                                                                          |
| **fixed-position**           | String    | (Group elements only) Shifts the band to a fixed position on the page                                                                                                                                |
| **layout**                   | String    | (Band elements only) The layout strategy for elements in bands. See [Report Layout Types](/pba-report-designer/add-report-elements-in-report-designer-cp.md) for more information on layout options. |
| **box-sizing**               | Selection | Specifies the border-model to use                                                                                                                                                                    |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.pentaho.com/pba-report-designer/style-properties-reference/size-and-position-styles.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
