SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: iframe and css

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Feb 2002
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question iframe and css

    is it possible to controll the height, width and correct position of an iframe by using css?? i've tried but maybe i didnt do it right??

  2. #2
    SitePoint Evangelist azizur_rahman's Avatar
    Join Date
    Nov 2001
    Location
    London, UK
    Posts
    502
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can control the whidth and height but you cant control the position like top and left.
    for that you'd be better using a div tag for precise position.

    Iframe actually takes absolute position... which means it stat from where it's placed and grows to width and height specified for it.

    its a very cool feature of HTML I love it....

    visit here to see in use;
    http://www.users.totalise.co.uk/~azi...man/hypertext/
    Azizur Rahman
    Web Application Developer


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
  •