Code requirements for uploading HTML landing pages
Important: If you have asked a third-party to create the code for your landing page, it is important that you provide them with this information in order to avoid integration problems in Eloqua.
In order for your HTML to render properly in Eloqua and across all browsers, it is recommended to use the following guidelines:
DocType is XHTML-1.0-Strict (except for migrated pages). This DocType is used to ensure the best possible rendering of landing pages across browsers, and therefore all uploaded content must also use this DocType:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
Code must validate properly according to W3C Markup Validation Service at http://validator.w3.org/.
- All JS should live in the header tag.
- Broken JS will cause your page to not render in Internet Explorer.
Do not target the
<BODY>tag with CSS.
Ensure compatibility with the following basic Eloqua CSS reset included in the application for proper rendering across different browsers:
Do not use these System class names:
Use static or absolute positioning, and avoid relative or fixed-positioned elements.
Use of tables is permitted.
Do notuse relative paths to reference images, stylesheets, and so on.
Do not use
<body>opening or closing tags within a text or shared content section.
Ensure all elements have correct opening and closing tags.
Note: If you re-save any transitioned content in the landing page editor, you must reset the following: page dimensions, body background color/images, document background color/images.
After you have verified that all requirements have been met, you can proceed to upload the HTML code for your landing pages. See