Center an iFrame

Can an iFrame be centered in a flexible layout?

Thanks for possible how to’s


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Found it out – I think: DIV: align center


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Freeway Pro’s Inspector command – Align: Center – on a div causes the
following code to be written for the div:

margin-left: auto;
margin-right: auto;

For non-floated inline items, this only works relative to the containing
element - e.g., centered with respect to the container. Technically also
with respect to any other inline content, but as divs are by default
block-level items that is likely not a concern.

Align: Left produces the only margin-right: auto: css, and Align: Right
produces margin-left: auto; Whichever side gets the auto margin “pushes”
the div in the opposite direction.


Ernie Simpson

On Sat, Sep 13, 2014 at 5:34 AM, GTPeter email@hidden wrote:

Found it out – I think: DIV: align center


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Cool thank you BigE. There is always something new to learn.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options