Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://tinywebgallery.com/forum/ |
|
center align the iframe https://tinywebgallery.com/forum/viewtopic.php?f=21&t=4592 |
Page 1 of 1 |
Author: | shabbelle [ 23. Mar 2018, 06:28 ] |
Post subject: | center align the iframe |
I tried the following: [advanced_iframe src="https://coronadoflowershow.com/wp-content/uploads/2018/03/schedule-2018-flower-show.pdf" width="800" height="750"] however the iframe is not centered horizontally on my page. how do I center the iframe please? |
Author: | TinyWebGallery [ 24. Mar 2018, 23:32 ] |
Post subject: | Re: center align the iframe |
An iframe is a normal html element. So you can center it like any div. I don't know the rest of your page therefore I cannot give you a out of the box solution. margin: auto is normally used here. Best, Michael |
Author: | shabbelle [ 25. Mar 2018, 17:26 ] |
Post subject: | Re: center align the iframe |
https://coronadoflowershow.com/schedule/ It appears centered now. Lost track of how this was accomplished but I guess issue resolved. |
Author: | TinyWebGallery [ 26. Mar 2018, 00:01 ] |
Post subject: | Re: center align the iframe |
there is a div around with style="center". This is maybe the solution. Best, Michael |
Author: | shabbelle [ 26. Mar 2018, 00:07 ] |
Post subject: | Re: center align the iframe |
thanks:-) |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |