# Designing a Document Layout

The layout feature for the document template editor allows you to give a custom and consistent look and feel for specific type of document generated in your automated process.

## Designing the Layout

Your document layout will be designed in standard HTML and CSS. To design your layout:

* Open the document template editor
* Input your content in the HTML area
* On the left of the editor, you should be able to enter and modify CSS for styling your layout

<figure><img src="/files/rKSgWDJce8lyTv8Hp2hm" alt=""><figcaption><p>Editing the layout design</p></figcaption></figure>

* You can also view your layout content as HTML markup by clicking on the "Code View" icon.

<figure><img src="/files/X0fCAXAHRoCwCrU3d7kP" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/zzMBeiL7mJKUUSLx1lRW" alt=""><figcaption><p>The HTML Markup / Code View</p></figcaption></figure>


---

# 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://admin-docs.onestop.site/managing-services/document-templates/designing-a-document-layout.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.
