Welcome to TalkGraphics.com
Results 1 to 8 of 8

Thread: Frame boarder

  1. #1
    Join Date
    May 2002
    Location
    Canada
    Posts
    3,340

    Default Frame boarder

    Hi gang. I am using the code provided by facebook and it is below. yet the frame boarder value even though it is set to "0" shows the frame. I need it to dissapear.

    The site is here

    <iframe src="https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2F817 227134999052%2Fphotos%2Fa.972938012761296%2F483091 2533630472%2F&show_text=true&width=500" width="500" height="481" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowfullscreen="true" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"></iframe>

  2. #2
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,827

    Default Re: Frame boarder

    Wrap the IFRAME inside a container:

    <div style="overflow: hidden; width: 498px; height: 479px;">
    <iframe ...></iframe>
    </div>

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  3. #3
    Join Date
    May 2002
    Location
    Canada
    Posts
    3,340

    Default Re: Frame boarder

    Really don't know how to do it, but Thanks.

  4. #4
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,827

    Default Re: Frame boarder

    behzad, you didn't say that you had already worked on the IFRAME code to cut off the Like bar.

    Open the Placeholder Body where you will see your code above.
    Assuming the original is 500x600px, change the Placeholder IFRAME code to:
    Code:
    <div style="overflow: hidden; width: 500px; height: 520px;">
      <iframe src="https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fpermalink.php%3Fstory_fbid%3Dpfbid02qnbrvTKcfXXc1KfUdcnBpXYLPMxwGX2363tXXYekr4ZjftAFfS19g1GzTyup6r1Al%26id%3D100063678667000&amp;show_text=true&amp;width=500" width="500" height="600" style="border: none; overflow: hidden; transform: scale(1.02);" scrolling="no" frameborder="0" allowfullscreen="true" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"></iframe>
    </div>
    Do scroll to view all the bold red changes.

    Using the CSS transform scales up the IFRAME content by a small amount.
    The containing <div> hides the slight excess, which is the thin border that you don't want.
    The 525px cuts off the bottom part.

    Obviously, if the sizes change, you have some adjusting to do.

    If you cannot get this working then create a number of white shims (lines and place over where the current border is appearing.
    Quite fiddly.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  5. #5
    Join Date
    May 2002
    Location
    Canada
    Posts
    3,340

    Default Re: Frame boarder

    Okay Thanks. Client said they want the boarder now. Sorry to have bothered you.

  6. #6
    Join Date
    Feb 2007
    Location
    UK
    Posts
    21,309

    Default Re: Frame boarder

    I hope they get the rent on time....
    -------------------------------
    Nothing lasts forever...

  7. #7
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,827

    Default Re: Frame boarder

    Quote Originally Posted by handrawn View Post
    I hope they get the rent on time....
    I thought it was a public school gathering. ��*��
    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  8. #8
    Join Date
    Feb 2007
    Location
    UK
    Posts
    21,309

    Default Re: Frame boarder

    I'll lodge a comprehensive answer to that.... when I can think of one
    -------------------------------
    Nothing lasts forever...

 

 

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
  •