It would work if you would not have the width set to 100%. Set the width of the iframe to your content width and then you can canter the iframe as currently is is the whole page already.
Best, Michael
I set the width: 1600 and height: 385. and add custom css:
#advanced_iframe {margin-left: auto; margin-right: auto; }
Still doesn’t work. What am I doing wrong?
You have to check all surrounding elements if they fit.
I have seen a max-width:100% which is a problem and also width 1600 is way to much. The size should only be the size of your content.
Best, Michael
How can I see what the right size of my content is?
I am sorry I don’t understand.
400 pixel would be fine.
And then you have to center the content of the surrounding div.
I just tested this and this works fine.