Formatting for hyperlinks generated by the Hyperlink widget

To support using the hyperlink widget to define links in a zone, the template must enclose the zone in a <span> tag.

In most cases, zones in an email document or landing page use the formatting defined by the styles embedded in the HTML template without any additional coding. However, when you know that a Hyperlink widget Chain links surrounded by dotted line rectangle image will be dropped into a zone, you must apply an additional <span> element to force the generated link to use a specific style.

For example, if you are creating a zone in an email template for a View as web page link, you might add a style element called viewAsWebPageWrapper to define the formatting for the View as web page hyperlink:

<style type='text/css">.viewAsWebPageWrapper a {color #999} 
</style>

You then surround the zone containing the View as web page hyperlink with an additional <span>, setting the class to viewAsWebPageWrapper.

<span class="viewAsWebPageWrapper">
<span id="viewAsWebPage0" class="droppable">View as web page</span>
</span>