sitemap in an iframe problem
« on: August 08, 2013, 09:48:57 AM »
Installed and running fine.
Trying to put the generated sitemap into an iframe to keep site design.
Iframe will not change height despite adding height attribute to iframe or div it is in.
Is the height set by the sitemap html page css or html??
See - [ External links are visible to forum administrators only ]
Re: sitemap in an iframe problem
« Reply #1 on: August 08, 2013, 01:04:30 PM »
Problem solved via CSS for responsive pages.
put iframe in div called
Hope this helps others.

<!-- iframe css -->
   .embed-box {
    position: relative;
    padding-bottom: 80%; /* ratio adjust for iframe height */
    padding-top: 30px;
    height: auto;
    overflow: hidden;
.embed-box iframe,
.embed-box object,
.embed-box embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   <!-- end iframe css -->