# 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/9.3-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: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
