iframes and frames

Out of context: Reply #4

  • Started
  • Last post
  • 17 Responses
  • Nairn0

    iFrames can have specific w&h dimensions set and can be included within a page - just like the various 'Broadcast' sections on this website. You can think of an iFrame as "In Frame", as opposed to normal frames which ..erm.. frame a side of your existant webpage - much as with picture frames.

    Normal frames tend to have a percentage of the browser width OR height dictating their size. You can't specify that a right-hand frame takes up only 30% of the screen height - you'd need a 3rd frame for that.

    A fundamental point is that a 2-framed page requires 3 html docs, whereas a 2-iFramed page requires just the 2 docs - the 'parent' and the 'child'.

    Otherwise, hrefs and targets work much the same. I'd check up on how to ensure iFrames remain standards/browser compliant if I were you (i can't recall - haven't been a dedicated webnik for quite some time)

View thread