Auto Fit

Page: 1

Author Post
Member
Registered: Dec 2013
Posts: 14
How do I get this to auto fit around this iframe?

<a href="http://www.FunPlacesToFly.com/distancecalc.asp" class="alt floatbox" data-fb-options="enableDragResize:true colorTheme:blue maxContentHeight:275 controlsPos:tr caption:href caption2:Airport Distance Calculator caption2Pos:tc">Fun Places to Fly</a>
Member
Registered: Dec 2013
Posts: 14
Aviator wrote
How do I get this to auto fit around this iframe?

<a href="http://www.FunPlacesToFly.com/distancecalc.asp" class="alt floatbox" data-fb-options="enableDragResize:true colorTheme:blue maxContentHeight:275 controlsPos:tr caption:href caption2:Airport Distance Calculator caption2Pos:tc">Fun Places to Fly</a>


Or is there a way to just center the iframe? Then I could just set the maxContentHeight:275 & maxContentWidth:275
Administrator
Registered: Aug 2008
Posts: 3382
Sorry, I have no idea what you are asking. I don't know what "this" refers to in your question, nor what it means to auto fit around an iframe. An online example page that I can see might help clarify.

You might want to check the Options Reference for basic settings like "autoFit", "width", "height". If you're talking about the layout of your content inside the floatbox content area, Floatbox doesn't mess around with the content. That's up to the content author to control with standard HTML and CSS markup.

Page: 1