white background

  • Profile Image
    jawpix
    Asked on February 06, 2012 at 09:53 AM

    Hi again

    I want background of my to be whit, but not more than the 500 pixels width.

    Is this possible?

    On the page

    http://arkiv.billedbyroet.dk/page1

    the white background goes 100 % to the wrap of the page.

  • Profile Image
    abajan
    Answered on February 06, 2012 at 10:01 AM

    In the iFrame that contains the link to the form, change the value of the width attribute from 100% to 500px and let us know if that helps:

    width="500px"

  • Profile Image
    jawpix
    Answered on February 06, 2012 at 10:10 AM

    Great that worked.

    So now I only miss how to align it to center

  • Profile Image
    abajan
    Answered on February 06, 2012 at 10:22 AM

    One method is illustrated on this page. I'm just trying to see how best to advise you on its implementation.

  • Profile Image
    abajan
    Answered on February 06, 2012 at 01:24 PM

    After much tinkering and getting nowhere fast, I came to the conclusion that since the div with the black background has a fixed width, the best solution is simply to add the following declaration (highlighted in red) to the iFrame:

    style="width: 500px; height: 1596px; border: medium none; margin-left: 215px;"

    This centers the form perfectly in all the browsers I've checked.

  • Profile Image
    jawpix
    Answered on February 06, 2012 at 02:56 PM

    Yes that soluton worked out OK

    Thanks 

  • Profile Image
    abajan
    Answered on February 06, 2012 at 03:30 PM

    You're welcome.