SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jul 2002
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Resizable iframes

    I have a page with an iframe in it, and I would like it to automatically adjust it's width and height according to each users screen resolution. The code is basic HTML and CSS - nothing fancy. Is this possible?
    thanks...

    Jeremy

  2. #2
    ♪♪ ♪ ♪ ♪ ♪♪ ♪ ♪♪ Markdidj's Avatar
    Join Date
    Sep 2002
    Location
    Bournemouth, South UK
    Posts
    1,551
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Use percentages instead of pixels, it will do it automatically.

    www.bamboocrafts.co.uk,
    www.unitingrhythms.com,
    2 sites of mine that adjust themselves using percentages.
    You could also make the page go to 800 by 600, the most common browser size. This is useful if you have pop-ups that clients may need often, as people with larger screens wont have to keep swapping windows. see.......

    www.unitingrhythms.co.uk/drums/basics.html
    bring the controller into view and click "Send drum to new window") Larger screens can see and play with other windows......
    LiveScript: Putting the "Live" Back into JavaScript
    if live output_as_javascript else output_as_html end if


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
  •