Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Attribute for <IFRAME ...>
ALIGN = LEFT | RIGHT | TOP | TEXTTOP | MIDDLE | ABSMIDDLE | CENTER | BOTTOM | ABSBOTTOM | BASELINE

ALIGN offers the same bewildering array of alignment options as <IMG ALIGN="...">. However, for <IFRAME ...> there are really only three useful options: LEFT, RIGHT, and of course, not using ALIGN at all.

LEFT and RIGHT indicate that the frame should align to the left or right side of the page and that text should flow around it. If no ALIGN attribute is used then the frame is inline with the text.

this code produces this
<IFRAME 
     SRC="BeaverHabitat.html" 
     WIDTH=150 HEIGHT=150 
     ALIGN=RIGHT
     >
<A HREF="BeaverHabitat.html">Stuff 
about the Beaver</A>
</IFRAME>
Yada yada yada. Yada yada yada. Yada yada yada. Yada yada yada. Yada yada yada. Yada yada yada. Yada yada yada. Yada yada yada.
<IFRAME 
     SRC="BeaverHabitat.html" 
     WIDTH=150 HEIGHT=150 
     ALIGN=LEFT
     >
<A HREF="BeaverHabitat.html">Stuff 
about the Beaver</A>
</IFRAME>
Yada yada yada. Yada yada yada. Yada yada yada. Yada yada yada. Yada yada yada. Yada yada yada. Yada yada yada. Yada yada yada.
<IFRAME 
     SRC="BeaverHabitat.html" 
     WIDTH=150 HEIGHT=150 
     >
<A HREF="BeaverHabitat.html">Stuff 
about the Beaver</A>
</IFRAME>
This example does not use ALIGN at all, so the inline frame is, well, in line. Yada yada yada. Yada yada yada. Yada yada yada. Yada yada yada. Yada yada yada. Yada yada yada. Yada yada yada. Yada yada yada.

 
 
  Copyright 1997-2002 Idocs inc. Published under the terms of the Open Content License Design by Interspire