www.webdeveloper.com
Results 1 to 12 of 12

Thread: Object vs. IFrame

  1. #1
    Join Date
    May 2005
    Location
    Hell
    Posts
    18

    Object vs. IFrame

    I was working on my website as to make it HTML Strict compatible, and I fixed my IFrame so it would be an Object. For some reason, it offsets the top and bottom images. Help would be appreciated. The site can be found at http://www.zer0.co.nr/.

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    iframes and nested tables
    Add img {display:block;} to the css
    and define the TD width:
    Code:
    <td valign="top" style="width:148px">
        <table border="1" cellpadding="0" cellspacing="1" width="148">
    At least 98% of internet users' DNA is identical to that of chimpanzees

  3. #3
    Join Date
    Apr 2005
    Posts
    15
    can i ask , what are the alternatives to frames, becasue i heard some saying that frames are eventually going to be dropped,and not used.
    Can You Handle Life ?

  4. #4
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    Depends on what you want to achieve; alternatives are server-side scripting or JavaScript
    At least 98% of internet users' DNA is identical to that of chimpanzees

  5. #5
    Join Date
    May 2005
    Location
    Hell
    Posts
    18
    I'm guessing <div>'s with CSS, and <object>'s. IFrames are already deprecated. Anyways, thanks for helping me, I will try that out.
    All your zer0 are belong to us.

  6. #6
    Join Date
    May 2005
    Location
    Hell
    Posts
    18
    You killed my site. Look.
    All your zer0 are belong to us.

  7. #7
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    Quote Originally Posted by zer0
    You killed my site. Look.
    At least 98% of internet users' DNA is identical to that of chimpanzees

  8. #8
    Join Date
    May 2005
    Location
    Hell
    Posts
    18
    http://www.zer0.co.nr/ - well, nevermind, I changed it back again. But please do look at /..index.php. That is the URL with the changes.
    All your zer0 are belong to us.

  9. #9
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    The object height must be reduced by 2px
    At least 98% of internet users' DNA is identical to that of chimpanzees

  10. #10
    Join Date
    May 2005
    Location
    Hell
    Posts
    18
    It's funny how the size is different on different browsers. I wish they could all just get along. Either way, I will try that.
    All your zer0 are belong to us.

  11. #11
    Join Date
    May 2005
    Location
    Hell
    Posts
    18
    Holy sh*t. Thank you. I am just curious, why is this so?
    All your zer0 are belong to us.

  12. #12
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    I didn't check where the error was occurring, but probably in the iframe or iframe document border.
    At least 98% of internet users' DNA is identical to that of chimpanzees

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles