Indexhibit
Index + Exhibit

Login:

Created by
Daniel Eatock
Jeffery Vaska
And You

Iframe Padding

 

Indexhibit version: 2.0
Thread is not resolved.

micheleyong
FRANCE
1 year(s) ago
Permalink Post

Hi I've been trying to search an answer to removing the default iframe padding for the past few hours and tried all the advice given but nothing still works.

I'm trying to embed a gallery into an iframe but it creates a sort of padding (roughly 20 px) around the gallery. When I open the gallery independently (on a browser page without embedding it) it works fine, fills up the whole screen.

I tried looking at the iframed.php files but I'm not really sure what I should be searching for.

This is what I have:



The page: micheleyong.com/index.php/portfolio/test/

Advice or help would be greatly appreciated!

micheleyong
FRANCE
1 year(s) ago
Permalink Post
  1. <body style="margin:0px; padding:0px; overflow:hidden">
  2. <iframe src="micheleyong.com/…;
lemathieu A
FRANCE
1 year(s) ago
Permalink Post

Bonjour Michele,
this is making the padding you're talking about (line 93 of your style.css) :

  1. .container { padding: 27px 9px 25px 27px; }

But be carefull, it adjust paddings for #index and #exhibit together.
You can work on them separately at the end of your style.css file.

micheleyong
FRANCE
1 year(s) ago
Permalink Post

Bonjour Lemathieu,

I tried what you suggested--working on the separate section and it works a bit, I still have the scrollbar with a tiny bit of extra space. Not sure where that problem is coming from :

Showing 1 - 4 of 4 posts in Forum » Customize » Iframe Padding
 

This thread has been closed, thank you.