css center iframe

 

 

 

 

You need to put the iframe in a div then use css to center in the div like so Hi! Im trying to set the align property/attribute of an IFrame to center but its not working (see below).Use CSS, along with a proper doctype Community Center. Home. Forums. Digital Media Forum. UI / UX Design Forum.You need to style the document(s) that appear in the iframe with a black background, rather than the iframe itself. The Outrageous Costs of Data Center Downtime. The 7 Most Hated Internet Innovations of All Time.Deprecated in HTML5. Do not use.