CSS HOW-TOCSS TemplatesLink listContactSitemap

10 iFrames / embeded frames

Frames have been part of the HTML standard since 4.0 iFrames are an independent layout elements that work differently from normal "frames". Iframes do not divide the window, but function more like layers within the HTML document that can contain other HTML documents.

If you have iframe elements in your HTML document, you need to chose the "transitional" document type.

VALUES

align="left" = aligns the iframe to the left.
Values: left, right, This attribute is deprecated. Use the CSS property text-align instead.
scrolling="yes" = enforces scrollbars for the iframe.
Values: yes, no, auto (default value)
frameborder="0" = needs to be set to make the default border of 1px disappear.

Example: iFrame 01

Example: iFrame 02

Example: iFrame 03


Further ARTICLES