Results 1 to 4 of 4

Thread: Iframe help ... sliced images not lining up around it!!

  1. #1
    Join Date
    Aug 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Iframe help ... sliced images not lining up around it!!

    Help...I am coming up with a layout but not sure about iframes...have my layout created in PSP and sliced i have added an iframe to my layout but one of my sliced images doesn't sit next to it properly...It shows the blue background beneath...

    here's the page:
    http://www.faeriemajikk.com/demoindex.htm
    please...this is driving me nuts...what have i missed or not done right??
    MODS wasn't sure if this was a html related or if it goes under another heading

  2. #2
    Join Date
    Jan 2006
    Location
    Ft. Smith, AR
    Posts
    795
    Thanks
    57
    Thanked 130 Times in 117 Posts

    Default

    I really wouldn't advise using an IFRAME, but to fix your problem you need to change the "colspan" of the <td> that holds your IFRAME from "1" to "2".

    Code:
    <td height="317" width="249" colspan="2">
    <iframe height="546" frameborder="0" width="100%" marginwidth="0" cellpadding="0px" src="demohome.html" name="icemaidenframe">
    <html xmlns="http://www.w3.org/1999/xhtml">
    </html>
    </iframe>
    </td>
    --------------------------------------------------
    Reviews, Interviews, Tutorials, and STUFF
    --------------------------------------------------
    Home of the SexyBookmarks WordPress plugin

  3. #3
    Join Date
    Aug 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I will try that...umm i am wondering... why shouldn't i use iframe? is there a better alternative?
    The whole reason that I am using it is so i can have content in the frame that will stay only in that frame.
    Does that make sense? Is there another way of having or containing content in that specific area...without it messing up the table?
    Thanks in advance

  4. #4
    Join Date
    Jan 2006
    Location
    Ft. Smith, AR
    Posts
    795
    Thanks
    57
    Thanked 130 Times in 117 Posts

    Default

    IFRAMES are generally used when you want EXTERNAL content (content which is not native to that particular page) to appear. To keep content in a certain area, I would recommend simply using a DIV.

    Code:
    <div height="blah.px" width="blah.px">
    This is the content
    </div>
    --------------------------------------------------
    Reviews, Interviews, Tutorials, and STUFF
    --------------------------------------------------
    Home of the SexyBookmarks WordPress plugin

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
  •