Viewing 9 replies - 1 through 9 (of 9 total)
  • rdellconsulting

    (@rdellconsulting)

    Try this:

    html iframe {
        display: inline !important;
        height: 1195px !important; /* CHANGE ME */
        max-height: 1102px;
        min-height: 4px;
        min-width: 395px;
        width: 1859px !important;
    }
    Thread Starter davidc3

    (@davidc3)

    Hi rdell
    Thank you for the reply I have tried to write this without success me and code don’t get on.Could you please write the code for me including the link:
    https://adlcbenidoleig.com/DOUBLES.xls

    Hope you can help.

    Kind regards
    David

    rdellconsulting

    (@rdellconsulting)

    You need to add the CSS above to either:
    a) Customise>Advanced options>Custom CSS, or
    b) A Child Theme style.css

    a) is the simplest, b) is the most robust

    You just need to set the 1195px to whatever suits you.

    There is no other code to write.

    Thread Starter davidc3

    (@davidc3)

    Hi rdell, I have folled your instructions above and put the code below which seems wrong. What I am trying to do is embed the excel file DOUBLES.xls on my page.

    <iframe src=”https://adlcbenidoleig.com/DOUBLES2016.xls&#8221; width=”100%” height=”500″>

    Hope you can help.

    Kind regards
    David

    rdellconsulting

    (@rdellconsulting)

    That is wrong. If you look at your post #1, that link worked but didn’t show enough of the xls. So my CSS adjusted that. So can you get back to the code in post #1?

    Thread Starter davidc3

    (@davidc3)

    I went to the link in my original post and it did the same thing. I then upgraded to customizr pro and it then worked but the actual excel sheet is reduced in size view the link below. Do I have to resize it in excel or is there another solution.

    https://204.44.69.58/~orbswarblers/index.php/competions/doubles-ko/

    Kind regards
    David

    PS thank you again for all your help.

    rdellconsulting

    (@rdellconsulting)

    Just remove the max-height:

    html iframe {
        display: inline !important;
        height: 1195px !important; /* CHANGE ME */
        min-height: 4px;
        min-width: 395px;
        width: 1859px !important;
    }
    rdellconsulting

    (@rdellconsulting)

    Checked again, looks like you should remove the height too:

    html iframe {
        display: inline !important;
        min-height: 4px;
        min-width: 395px;
        width: 1859px !important;
    }
    Thread Starter davidc3

    (@davidc3)

    Hi rdellconsulting I have inserted the html iframe code into the style.css file it displays with a zoom button but I want it to mdisplay as the original size in excel is that possible? Below is the link to the page and below that gview code

    https://204.44.69.58/~orbswarblers/index.php/competions/doubles-ko/

    [gview file=”https://204.44.69.58/~orbswarblers/DOUBLES.xls&#8221; save=”0″]

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Problems with embedding excel sheet’ is closed to new replies.