Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Mar 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Making a "Fixed" Iframe stay aligned right..

    ..no matter what, how do you do that??

    Any bit of help would be appreciated!

  • #2
    Regular Coder
    Join Date
    Oct 2007
    Location
    Glencoe, Ontario, Canada
    Posts
    340
    Thanks
    19
    Thanked 27 Times in 27 Posts
    adding
    Code:
    .iframe {
    display:block;
    float:right;
    }
    to your CSS will fix the issue

    or putting that in <style></style> tags in the page your placing the iframe.

    Be sure to code it like this though

    Code:
    <iframe src="iframe.html" class="iframe"></iframe>
    Eric "PitbullMean" Melo
    Always Start your layout with*{border:0; margin:0; padding:0;}
    Be sure to Thank ALL Users who give assistance.


  •  

    Posting Permissions

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