Web Export
  • Introduction
  • Getting Started
  • Install the Plugin
  • Create or open a project
  • Export the Artboard
  • Export Artboard Dialog
    • File Name
    • Subdirectory
    • Page Title
    • Web Page Template
    • Expected HTML Output
    • Stylesheet Name
    • Artboard Stylesheet template
    • Expected Stylesheet output
    • Script Page options
    • Images
    • Export Folder
    • Server
    • Alternative Fonts
    • Scale to fit
    • Centering the page
    • Styles Inline
    • Style via Classes
    • Markup Only
    • Outline Elements
    • Keyboard Navigation
    • Add Data Name
    • Add Image Compare
    • Auto Refresh
    • Export type
    • Reset Artboard
  • Addressing Export Issues
  • Messages Console
  • Export types
    • Export to a Single Page
    • Export to Multiple Pages
    • Export Artboards and show by size (media query)
    • Export to a Slideshow
  • Keyboard Shortcuts
  • Responsive Pages
  • Dynamical page that grows in height
  • Modifying Individual Elements
  • Elements and Sub Elements
  • Styling elements
  • Element Options
    • Id field
    • Tag Name
    • Styles
    • Classes
    • Attributes
    • Hyperlink
    • Width and Height Size
    • Background
    • Markup Inside
    • Markup Before and Markup After
    • Text Ids
    • Text Tokens
    • Row Layout
    • Column Layout
    • Overflow
    • Script Template
    • CSS Template
    • HTML Template
    • Layout Section
      • Layout Position types
      • Layout Position Location Types
      • Layout sizing options
    • Centered, Constraint and Anchored Positioning
    • Debug Element
    • Show Outline
    • Export as Image
    • Export as String
    • Export element
    • Displayed
    • Auto Export
    • Export (artboard)
    • Show Markup
    • Show CSS
    • Show Property Changes
    • Reset All Property changes
    • Navigation Buttons
  • Changed Properties
  • How to section
    • Creating a hover menu
    • Centering a page or element
    • Showing Overlays
    • Embedding an HTML page
    • Linking to pages or views
    • Creating a download link
    • Creating List items
    • Embedding Fonts
    • Adding Hover Effects
    • Styling Hyperlinks
    • Showing elements by size
    • Creating a Fixed Header
    • Make a Stretchable Line
    • Blend Modes
  • Creating Code Blocks
  • How Exporting Works
  • Single Page Application API
  • Element Tokens
  • Template Tokens
  • Setting up a server
  • Putting your site online
  • Code Block Snippets
    • Adding a cursor over on hover
    • Go to next or previous artboard with swipe gesture
  • Other Features
    • Gradients
    • Blend Modes
    • Form Elements
  • Learning by Videos
  • WordPress Integration
    • Summary
    • Export the main page
  • Example Packages
  • Web Developers
  • Non Web Developers
  • Debugging
  • Version
  • Support
    • Forums
    • Discord Channel
  • License
  • Feature and Bug Reports
  • Related Plugins
Powered by GitBook
On this page

Was this helpful?

  1. Element Options
  2. Layout Section

Layout Position Location Types

The properties used to position an element

PreviousLayout Position typesNextLayout sizing options

Last updated 3 years ago

Was this helpful?

The location types are the names of the properties used for moving an element to a specific location:

The default position location type is Constraint using left and top.

The Constraint or anchor option positions by using the left, right, top, or bottom properties. For centered elements a transform property is used. These properties do not have an effect with some .

Using the Horizontal and Vertical options

When you use a horizontal option the vertical properties are not set.

When you use a vertical option the horizontal properties are not set.

For example, if you chose Constraint (horizontal) the CSS properties would only include left, right or left and right. This option would exclude the top and bottom properties.

The CSS would look like this:

.MyElement {
    left: 10px;
}

If you chose Constraint (vertical) the CSS properties would only include top, bottom or top and bottom. This option would exclude the left and right properties.

The CSS would look like this:

.MyElement {
    top: 10px;
}

You can also chose the none option to exclude any position location properties.

Changing this option to anything but default or absolute can break your page from what it looks like on the artboard. Make sure you know what you are doing before using this feature and remember you can use Undo and Reset Options button if you need to revert any changes.

The Padding position option positions by using the padding-left, padding-right, padding-top, or padding-bottom properties. These properties do not have an effect with some .

The Margin position option positions by using the margin-left, margin-right, margin-top, or margin-bottom properties. These properties do not have an effect with some .

position types
position types
position types
Logoposition - CSS: Cascading Style Sheets | MDN