SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Evangelist
    Join Date
    Jan 2002
    Location
    Scotland, UK
    Posts
    530
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Emulating an IFRAME in one HTML file

    Hi folks,

    I;ve not built a site for years and put together this quite quickly for a friend.

    www.bodyworkxscotland.com

    It works fine but I think the IFRAMES are very messy and want to move away from them while retaining their functionality. Eg: a scrollable area within a table.

    This is a probably a very n00b question but how would I go about it?

    Many thanks,

    Rikki

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,264
    Mentioned
    196 Post(s)
    Tagged
    2 Thread(s)

    iframe emulation

    I tried the link you provided, but "no page found" I'm guessing you typo'ed and meant http://www.bodyworxscotland.com/
    You could use scrolling divs, but check out this thread:
    http://www.sitepoint.com/forums/showthread.php?t=285181

  3. #3
    I am obstructing justice. bronze trophy fatnewt's Avatar
    Join Date
    Jul 2002
    Location
    Ottawa, Canada
    Posts
    1,766
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    (Scrolling can be done by setting an absolute size for an element and handling the overflow via CSS)

    Code:
     div {
       overflow: scroll
      }
    http://www.w3schools.com/css/pr_pos_overflow.asp
    Colin Temple [twitter: @cailean]
    Web Analyst at Napkyn



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •