How Do Increase the Width of a Page?

  • rickytherhino

    #2776

    Check out this page…. I’m embedding a tool from EPA into our website but it is wider than the page will allow. Is there a way to fix this?

    http://www.nexusenergycenter.org/home-energy-yardstick

    Daniel

    Mod

    Kenneth John Odle

    #21870

    You could put it in a pop-up window…but there’s no way that I know of to change the width of just one page. However, the next release of Graphene (1.6) will allow you to easily change the width of the entire site. Since you only need a little bit more space, this might be a viable solution for you.

    http://bit.ly/w4f5Mu

    Cheers!

    rickytherhino

    #21871

    How do you put it in a pop-up window?

    Mod

    Kenneth John Odle

    #21872

    Well, the simplest way is to just create a blank html page:

    <html>
    <head><title></title></head>

    <body>
    </body>
    </html>

    Save it as “file.htm” (or whatever) and then add your iframe information somewhere in the “body” portion.

    Then, on your page, when you link to this html page, be sure to tick the box marked “open link in new window”. If you are using the HTML editor, add target="blank" to the anchor tag:

    <a href="file.htm" target="blank">Space Unicorn!</a>

    This method is a bit clumsy, but at least people who set their browsers will still be able to see it. (And you should warn them it will open in a new window.)

    You can use Javascript to create pop-up windows. I forget the exact method, but go over to my CV (http://cv.kjodle.net) and view the source code there, where I’ve used Javascript to create popups for some things. Using that method, you can actually control the size of the pop-up. Look at the code in the <head> closely to see how.

    Have fun!

Viewing 4 posts - 1 through 4 (of 4 total)

  • You must be logged in to reply to this topic.