|
IFRAME tutorial
What's an iframe? <iframe src="newpage.html" width="200" height="200" frameborder="0" scrolling="auto" name="myInlineFrame"> TEXT FOR NON-COMPATIBLE BROWSERS HERE</iframe> This will place newpage.html inside the floating frame, within holdingpage.html. Cool huh? The text for non-compatible browsers is some text that you can write in to inform users with web browsers that cant render iframes that they're unable to see the iframe. Current browsers (Internet Explorer 5.5/6, Netscape 6.x and Opera 5/6) can all handle iframes, some very old browsers cannot, so choose them based on your audience and the technology they have at their fingertips. ok, heres an example of an iframe which ive placed within this table data cell. (so that you can see its dimensions, the frameborder attribute has been set to "1") Positioning iframes within data cells within tables (<td>)
is a nice way of using inline frames, it appears as if the cell content
is scrollable so you can fit a lot more content into smaller areas without
ruining your src = the source
file the iframe uses, i.e newpage.html Go to: Client side tutorial links | Home © designplace 2002 Remember, if you get stuck or need to ask any questions, register with the forums and tell us about it! |
|