6 replies
hello.
i need to place a html form (email) over an image i am using for a landing page. How would I position the form?
#coding #html #question
  • Profile picture of the author scriptracer
    The landing page should have one div element which contains everything. You give that div width 1000px and height 1000px for instance.
    You should choose these dimensions to fit your desired landing page size. If you do not specify dimension, it would shrink just around the content (your title, form etc.).

    Then you give that div a css background-image property, and supply that image's url.
    The form should be placed where you want it anyway. When you put the image in background of the div element, which contains the form too, the form will be over an image.

    Even less complicated, give body tag a css property background-image. It might work too.
    {{ DiscussionBoard.errors[7448653].message }}
  • {{ DiscussionBoard.errors[7449106].message }}
    • Profile picture of the author kasun0777
      You have 2 solution.
      1. You can add image as a background.
      2. You can create form with absolute position.

      Signature
      No matter how much you love someone, you still want to have you own way
      {{ DiscussionBoard.errors[7449546].message }}
  • Profile picture of the author kazim
    You can add a background image in css file.
    Try and send me feedback.
    {{ DiscussionBoard.errors[7453875].message }}
    • Profile picture of the author seminyha
      hey thanks for all the replies.

      What I did was place the image as a background then opened a new layer over that(i use komposer).
      On that 2nd layer i inserted a table and placed the form there then used the shift key on my laptop to position it. Its kinda crude but that worked for now.

      Will be trying to perfect this in future cause this is how i will be building most my landing pages.

      I will be experimenting with the suggestions so far so thanks again for them all.
      {{ DiscussionBoard.errors[7456162].message }}
  • Profile picture of the author KyleGolemMedia
    absolute positioning is what I would recommend.

    Glad you found a solution, though! Good luck in the future.
    Signature
    Need Help Growing Your Audience?
    Let an experienced Marketer help! PM me with project details.
    Google AdWords, Bing Ads, Facebook Ads, Twitter Ads, etc.
    {{ DiscussionBoard.errors[7459151].message }}

Trending Topics