positioning a form

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • adweaver
    New Member
    • Oct 2009
    • 20

    positioning a form

    I have a form which I'm using, and I want to position it relative to the background on my page. The entire background being a single 1600x3000 .gif that I export from Illustrator.

    I need the form to stay in the correct spot, so it doesn't jump around at different resolutions, as it seems to do as I zoom the page in and out. The graphic is built to have the form in one exact spot, or it doesn't look right.

    Currently, I've been using the padding commands to position it on the page where I'd like it, but that doesn't seem to be working. Can I actually map it by pixel somehow, so it stays glued to the image?

    Thanks,

    Andrew
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    It sounds like you just want to set the background image for the body of the html page.

    You can specify that the background image should not scroll with the content.

    Please check out the CSS background style. I think that you will be most interested in setting the CSS background-attachment style.

    Instead of using the padding style, try using the margin style.

    -Frinny

    Comment

    Working...