Documentation

Learn how Enso Cloud can power your custom designed website.

Troubleshooting

Enso tags have a width and height of 100% so they fill the entire space of their parent element. For that reason you should always place Enso tags inside a block-level tag like a DIV or heading tag. Also, for that reason you should not have two Enso tags inside the same parent element. For more information on block-level vs inline HTML tags, visit https://developer.mozilla.org/en/HTML/Block-level_elements.

Below are some examples of how to use Enso tags to avoid formatting problems.

Bad
Avoid using an Enso tag without a parent element.
<enso:tag />
Bad
Avoid placing two Enso tags inside the same parent element.
<div>
   <enso:tag />
   <enso:tag />
</div>

Bad Sometimes
Avoid placing Enso tags inside non block-level parent elements.
<p><enso:tag /></p>
<span><enso:tag /></span>

Good
One Enso tag per block-level element.
<div><enso:tag /></div>
Good
If you have two Enso tags inside a parent element, separate them with their own block-level parent element.
<div>
   <div><enso:tag /></div>
   <div><enso:tag /></div>
</div>