On Nov 11, 2009, at 8:55 PM, Alan Gresley wrote: > since iframe is a deprecated inline element. > > http://www.w3.org/TR/html401/present/frames.html#edef-IFRAME
In html4, yes, but it is part of html5 http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-element.html#the-iframe-element > There are two options using depreciated elements or depreciated > attributes that will work. > > <div align="center"><iframe> > > content of iframe > > </iframe></div> That will centre the iframe (unless otherwise specified, a 300px by 150px box), but not the content of the iframe. If you want to style (centering or whatever) the content of the iframe, you need to apply the styling to -and from- the page/document that loads in the iframe. Philippe --- Philippe Wittenbergh http://l-c-n.com/ ______________________________________________________________________ css-discuss [[email protected]] 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/
