# Position in Creght | Creght Visual Documentation

> Creght supports four types of positioning: Relative, Absolute, Fixed, and Sticky . You can change an element’s positioning in the right-hand settings panel .…

[![Creght](https://ugc.talizen.com/_assets/site/2061660904709165056/1780797461299__creght_logo.png)Help Center](/en/help.md)

[Changelog](/en/blogs.md)

[AI](/en/docs/ai/quick-create-first-website.md) [Visual](/en/docs/get-start.md)

Basic

- [Get to Know Creght in 2 Minutes](/en/docs/get-start.md)
- [How to Register for Creght](/en/docs/signup.md)
- [Creating a Project in Creght](/en/docs/create-site.md)
- [Templates](/en/docs/tpls.md)

Design

- [Using the Editor](/en/docs/editor.md)
- [Basic Operations](/en/docs/operating.md)
- [Layouts in Creght](/en/docs/layout.md)
- [Position in Creght](/en/docs/position.md)
- [Size in Creght](/en/docs/size.md)
- [Breakpoints in Creght](/en/docs/breakpoint.md)
- [Overlays](/en/docs/popover.md)
- [Components in Creght](/en/docs/components.md)
- [Adding Third-Party Fonts](/en/docs/tp-font.md)
- [Duplicate and Deep Copy](/en/docs/deep-copy.md)

CMS

- [CMS (Content Management System)](/en/docs/cms.md)
- [Importing WeChat Official Account Articles into CMS](/en/docs/wxmp.md)

Site Setting

- [Page Settings](/en/docs/page-setting.md)
- [How to Upgrade a Plan](/en/docs/manage-plan.md)
- [SEO Settings](/en/docs/seo-setting.md)
- [Small Files (Site Verification)](/en/docs/verification-file.md)
- [Adding a Custom Domain in Creght](/en/docs/custom-domain.md)
- [How to Complete ICP Filing](/en/docs/beian.md)
- [Server Nodes](/en/docs/website-node.md)
- [How to Switch Sites](/en/docs/pxrp79jqtnyq.md)
- [Localization](/en/docs/localization.md)

AI

- [About Creght AI](/en/docs/creght-ai.md)

Tool

- [Convert Figma Designs into Live Websites](/en/docs/figma-to-creght.md)
- [3 Guidelines for Responsive Figma Layouts](/en/docs/figma-autolayout.md)
- [Covert Figma to live website](/en/docs/response-site.md)
- [Figma to Responsive Website: Interactions](/en/docs/figma03.md)
- [Compressing Video with FFmpeg](/en/docs/ffmpeg.md)
- [How to Add Clarity to Your Website](/en/docs/clarity.md)
- [Creating a Button Hover Effect](/en/docs/button.md)
- [How to Build a Reusable Collapsible FAQ Panel](/en/docs/collapse.md)
- [Responsive Navigation Tutorial](/en/docs/nav.md)

Design/

# Position in Creght

Creght supports four types of positioning: **Relative, Absolute, Fixed, and Sticky**.

You can change an element’s positioning in the **right-hand settings panel**.

_i![image.png](https://fsb.huglight.cn/8d4fea8d168c2e7f35f8da0ea9d7b2b8/image.png)_

## 1\. Relative Positioning

- Default positioning for all elements
- ✅ Stays in the document flow (occupies space)
- Parent containers with auto width/height will not collapse
- Elements are arranged in order, without overlap

![image.png](https://fsb.huglight.cn/c6508d58e5de03366b9c99cd6a5961c3/image.png)

## 2\. Absolute Positioning

- ❌ Removed from the document flow (does not occupy space)
- Parent containers with auto width/height will collapse
- Elements can overlap with others

_![image.png](https://fsb.huglight.cn/e222100f691b2ba8b634120842eab514/image.png)_

When Absolute is selected, a **Position Controller** appears:

_![image.png](https://fsb.huglight.cn/f653524b3209510758af19e1e4df3a39/image.png)_

This allows precise placement of an element relative to its parent (e.g., **bottom: 0, left: 0**).

**Use cases:**

- Overlaying elements (e.g., badges, icons on images)
- Manual placement inside containers

![](https://fsb.huglight.cn/ee80be9adb7c4ce39e2322cf44bdba2e/mcPDlNWNynT__image.png)

## 3\. Fixed Positioning

- ❌ Removed from document flow (does not occupy space)
- Pinned relative to the **browser viewport**
- Example: `top: 0` keeps the element fixed to the top, even when scrolling

**Use cases:**

- Persistent navigation bars _![](https://fsb.huglight.cn/801f8dd0fab2c2cf1ffddad8ebca9a18/mcPDQJQLDUZ__image.png)_
- Floating “Contact Us” / “Chat Now” buttons

![](https://fsb.huglight.cn/1654be643b4cb741829cc72a4eb615f0/mcPDTCHpmVy__image.png)

## 4\. Sticky Positioning

- ✅ Remains in the document flow (occupies space)
- Acts as **Relative** until a threshold is reached, then switches to **Fixed**
- Great for elements that should “stick” temporarily while scrolling

👉 Try it yourself: [Sticky Positioning Demo](https://example.site.creght.com/stickyDemo1)

_![image.png](https://fsb.huglight.cn/b25cb2495d9b260c5a7c726bf37a6db4/image.png)_

## Position Comparison

| Positionin | In Document Flow | Occupies Space | Moves with Scroll | Typical Use Cases |
| --- | --- | --- | --- | --- |
| **Relative** | ✅ Yes | ✅ Yes | ✅ Yes | Default positioning, normal flow |
| **Absolute** | ❌ No | ❌ No | ✅ Yes (relative to parent) | Overlays, manual placement |
| **Fixed** | ❌ No | ❌ No | ❌ No (fixed to viewport) | Nav bars, floating buttons |
| **Sticky** | ✅ Yes (until threshold) | ✅ Yes | Mixed (Relative → Fixed) | Section headers, sticky cards |

✅ **Summary:**

- Use **Relative** for default layouts
- Use **Absolute** for overlays inside a parent
- Use **Fixed** for elements pinned to the screen
- Use **Sticky** for hybrid scroll-based behaviors

On this page

- [1\. Relative Positioning](#1-relative-positioning)
- [2\. Absolute Positioning](#2-absolute-positioning)
- [3\. Fixed Positioning](#3-fixed-positioning)
- [4\. Sticky Positioning](#4-sticky-positioning)
- [Position Comparison](#position-comparison)

![Creght](https://ugc.talizen.com/_assets/site/2061660904709165056/1780797461299__creght_logo.png)

This website is built with [Creght](/en.md)

![User Community](https://ugc.talizen.com/_assets/site/2061660904709165056/1781070374701__help_qr.webp)

User Community

## Links

- [Pricing](/en/price.md)
- [Solutions](/en/solution.md)
- [Customers](/en/customers.md)
- [Help Center](/en/help.md)
- [Contact Us](/en/contact.md)
- [Blog](/en/blogs.md)
- [Refund Policy](/en/tuikuan.md)

## Resources

- [All Resources](/en/resources.md)
- [Templates](/en/templates.md)
- [Components](https://creghtlib.site.creght.com)
- [Animations](/en/effects.md)
- [Figma to Creght](/en/figma2creght.md)
- [API for AI](/en/api.md)

## Comparisons

- [vs Shianxianle](/en/creght-vs-sxl.md)
- [vs Fanke](/en/creght-vs-fkw.md)
- [自己写代码 vs Creght](/en/compare/self-coding.md)
- [外包 vs 自己做](/en/compare/outsourcing.md)

## Terms

- [Terms of Service](/en/legal/terms.md)
- [Privacy Policy](/en/legal/privacy.md)
- [Acceptable Use Policy](/en/legal/acceptable-use.md)

## Social Media

- [Xiaohongshu](https://www.xiaohongshu.com/user/profile/5a38606811be10715f4895b6)
- [Bilibili](https://space.bilibili.com/513308095)

[蜀ICP备2023038192号-2](https://beian.miit.gov.cn)
