Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #221265

    Hi, I am trying to embed another webpage onto my website and used CSS to adjust the embedded window to display only a certain area but it does not seem to work. Here is what I am using. After I update the height and width it shows up fine on the editor but as soon as I click update the adjustments disappear.

    <div id=”outerdiv”><iframe id=”inneriframe” src=”URL” scrolling=”no”></iframe></div>
    <style><!–
    #outerdiv
    {
    width:490px;
    height:290px;
    overflow:hidden;
    position:relative;
    }

    #inneriframe
    {
    position:absolute;
    top:-320px;
    left:-400px;
    width:1280px;
    height:1200px;
    }
    –></style>

    #221315

    Hey!

    Don’t style directly there, instead, put the code in Quick CSS or in the css/custom.css file.

    Cheers!
    Josue

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Adding CSS to adjust iFrame not working’ is closed to new replies.