cancel
Showing results for 
Search instead for 
Did you mean: 

How to narrow vertical space between two IFrames?

former_member182374
Active Contributor
0 Kudos

Hi,

I'm using two or more IFrames for running BW reports.

Each IFrame calls to a different URL but I want to

narrow to vertical space between the IFrames.

I tried to set properties like "valign" - didn't help

Attached picture which shows the problem.

http://img267.imageshack.us/img267/3739/iframes7ig.jpg

thanks, Omri

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Omri,

You may use MatrixLayout with MatrixHeadData for both IFrame cells. For the first one set cell design to LR_NOPAD (only top & bottom pad remain), for the second one set it to PADLESS (no pads at all). If you are not using SP11 (that does not understand PADLESS constant) then everything should work.

Also you may try RowLayout (with RowHeadData) but paddings here looks too small for me.

VS

former_member182374
Active Contributor
0 Kudos

SP13 did the trick.

The PADLESS const solved the problem.

thanks,

Omri

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Omri,

Which layout are you using?. I embedded the Iframes into a transparent container using GridLayout of colCount '1'. I didn't change the default layout values and I didn't get any padding space between the Iframes.

See my result at

http://img383.imageshack.us/my.php?image=iframes0ml.jpg

Best Regards,

Nibu.

former_member182374
Active Contributor
0 Kudos

Hi Nibu,

I changed to layout from MatrixLayout to GridLayout,

still does not work.

The problem is with the upper padding space of the

second IFrame.

Here are my settings:

Transparent Container (GridLayout, colcount=1)

Two IFrames with default values (paddings Bottom, left,

Right & Top are set to none, Scrolling mode is also

set to none).

Thanks, Omri

Former Member
0 Kudos

Hi Omri,

Make sure you haven't set the height for the transparent container and the value set for both cellPadding and cellSpacing is 0.

Best Regards,

Nibu.