Thanks to all for the suggestions. I'll try them and get back to you with the results.
Michael ----- Original Message ----- From: "Alan Gresley" <a...@css-class.com> To: "Michael Newberry" <m...@mirametrics.com> Cc: <css-d@lists.css-discuss.org> Sent: Wednesday, November 11, 2009 5:11 AM Subject: Re: [css-d] Is there a simple way to center in an iframe? > Michael Newberry wrote: >> I'm pasting images into an iframe using a simple click on a link. The >> image always appears at the 0,0 scroll position inside the iframe. Is >> there a simple css way to center it? I've tried using text-align:center. >> >> Thanks, >> >> Michael > > > Correction, iframe is not deprecated but it is inline. This will do the > trick. > > .center {text-align:center} > > <div class="center"><iframe></iframe></div> > > > -- > Alan http://css-class.com/ > > Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo > ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/