Jump to main content or area navigation.

Contact Us

EPAFiles: Web Design

Code Library

Note: EPA no longer updates this information, but it may be useful as a reference or resource.

EPA builds all web content in the Drupal WebCMS as of January 2013. All new microsites and resource directories will be created using Drupal WebCMS. There is still content on EPA's legacy servers and this content will be maintained there until it is transformed and moved into the Drupal WebCMS. This information on styles and look and feel only applies to the existing content using Template 4 or older versions of EPA's template. Information for building new content is found in the EPA Web Guide.

Please Note: We are moving away from Dreamweaver.

Throughout epa.gov, we reuse a lot of code. We offer some here in an effort to standardize. If you have other common Dreamweaver Library items you would like to see here, please let us know.

To save these files, right-click on a link below and select "Save Target as.." (Internet Explorer) or "Save Link as..." (Firefox) from the pop-up menu. Save as type: All files. Then change the extension to .lbi. Note: Save Dreamweaver library items in the Library directory of your Dreamweaver site.

These libraries and code snippets work equally well in Templates 3 and 4.

Links to External Sites (Exit EPA)

Standard

<a href="https://www.epa.gov/epahome/exitepa.htm" title="EPA's External Link Disclaimer"><img src="https://www3.epa.gov/epafiles/images/epafiles_misc_exitepadisc.gif" width="87" height="13" alt="Exit EPA Disclaimer" /></a>

Dreamweaver Library item: External Links (Exit EPA) Disclaimer

Outdated Disclaimers
Page

<!-- <epaold> -->
<!-- EPA Archive Policy Disclaimer v2.0 04/29/05 -->
<p id="archive">Note: EPA no longer updates this information, but it may be useful as a reference or resource.</p>
<!-- </epaold> -->

Dreamweaver Library item: Outdated page notice source code

PDF/Non-HTML file disclaimers
Default

<p class="disclaimer">You will need Adobe Reader to view some of the files on this page. See <a href="https://www.epa.gov/epahome/pdf.html">EPA's PDF page</a> to learn more.</p>

Dreamweaver Library item: PDF disclaimer

Wide

<p class="disclaimer-wide">You will need Adobe Reader to view some of the files on this page. See <a href="https://www.epa.gov/epahome/pdf.html">EPA's PDF page</a> to learn more.</p>

Dreamweaver Library item: Wide PDF disclaimer

Search Box

Coding the Search Box: while not a "Library code item", included here for reference.

Top of Page links

<p class="pagetop"><a href="#content">Top of page</a></p>

Dreamweaver Library item: Top of Page link

For help with your epa.gov web design, contact the Web Template Workgroup.

Jump to main content.