Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8830407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T08:04:48+00:00 2026-06-14T08:04:48+00:00

I was trying to place a form over an image that I wanted to

  • 0

I was trying to place a form over an image that I wanted to have it as a background in my whole homepage. Everything works fine. The only problem is that I want to place table some pixels lets 50 more to down. Also I would like to place table not to the end of right, but lets say 30 pixels before of it. Any ideas ?

This is my html code:

<html>

<head>
<link href="css/main.css" rel="stylesheet" type="text/css">
</head>

<body>

<div id="text">

<div class="homepageTable"     width:40px;   margin-right:auto;   margin-left:auto;   style="text-align:right" >
            <form action="#" method="post">
                <input type="text"  size="25"  name="first_name"        placeholder="first name"><br/>
                <input type="text"  size="25"  name="last_name"         placeholder="last name"><br/>
                <input type="text"  size="25"  name="email"             placeholder="email"><br/>
                <input type="text"  size="25"  name="retype_email"      placeholder="retype your email"><br/>
                <input type="text"  size="25"  name="password"          placeholder="password"><br/>
                <input type="text"  size="25"  name="retype_password2"  placeholder="retype your password"><br/><br/>

                    <input type="checkbox" name="I_accept_terms" value=" "><br/>

                <input type="submit" value="" name="submit" style="background:url('img/login_button_1.jpg') no-repeat; width:300; height:50; border:none;"/>

            </form>
        </div> 

</div>

</body>
</html>

and this is my css file:

#text 
{
width: 961px;
height:219px;
position: relative;
background-image: url(../img/back_img_green.jpg);
background-repeat: none;
}

Any ideas ?
Thanks Stefanos

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T08:04:49+00:00Added an answer on June 14, 2026 at 8:04 am

    Absolutely position the image inside a relatively positioned div. Then absolutely position the form by the offset from top left that you want and give the form a higher z-index. Either that or set the image to be the background of the div.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to place an image panel on a form such that when a
I'm trying to make a blank background to place an image on top of.
I am trying to simplify some of the bookmarklets that I have created over
I have been trying to create a form that having 4 elements. One is
I'm trying to place a modal dialog within a form to aid in filling
Due to space limitations I'm trying to place the error messages for a form
We are trying to create an edit in place kind of form. I'm using
I'm trying to place a flash video (object, swf) inside a div, and have
I'm trying to place a button. I have its position set to absolute, so
I have an otherwise functioning rails project where I'm trying to update some form

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.