1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Center Aligning Cakesliced Iframe Code? :(

Discussion in 'CPA' started by cal1990, Sep 11, 2012.

  1. cal1990

    cal1990 Registered Member

    Joined:
    Aug 6, 2012
    Messages:
    53
    Likes Received:
    11
    <div
    style="overflow: hidden; width: 292px; height: 53px; position: relative;"
    id="i_div">
    < iframe name="i_frame"
    src="mysite"
    style="border: 0pt none ; left: -810px; top: -431px; position: absolute; width: 1260px; height: 666px;"
    scrolling="no"></iframe></div>


    This is my cropped iframe code, anyone know what i need to add in order to center it? ive tried the obvious center align as you would to a normal element but it wont work???
     
    Last edited: Sep 11, 2012
  2. cal1990

    cal1990 Registered Member

    Joined:
    Aug 6, 2012
    Messages:
    53
    Likes Received:
    11
    ^edited out url as would let me post with it...