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 1087151
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T22:54:08+00:00 2026-05-16T22:54:08+00:00

I have a Windows program which generates forms. It takes the Top/Left properties at

  • 0

I have a Windows program which generates forms.

It takes the Top/Left properties at form design time in the Windows program and generates HTML to display the form, using position: absolute and the original Top/Left.

Now I want to split my HTML page into three panes/sections :

1) a menu bar across the top
2) the form, as designed in the windows program
3) a submit button, below the form

I presume that there is some very simple way to do this, using divs (if I must, I can enclose the form in a , but would rather avoid that).

The main point is that the coordinates in 2) will now need to be relative to 2)

I hope that that is clear, please ask me if not.


@YTi Jiang asked for some sample generated HTML, so here is the simplest I could think of – a text input box. Feel free to ask for any kind of example, but I really think that I am just asking for some “classic”, like a “classic top menu/page body/footer” or whatever the CSS/HML gurus call it..

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Input data</title>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta HTTP-EQUIV="Expires" CONTENT="-1">
<style type="text/css">
  body { font: 12px Arial; }
</style>
</head>
<body>
<form action="HTTP://localhost/b/submitted.php" method="post">

<div class="TEdit" id="TextEditBox1" style="position: absolute; top:56px; left: 72px; width: 121px; height: 21px;">
  <input type="text" name="TextEditBox1">
</div>

<div class"submit_button" style="position:absolute; top:102px; left:132px;"><input type="submit" name="submitButton" value="Submit"></div>
</form>
</body>
</html>

Does it make any difference that it is a form and not just a plain HTML page?

  • 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-05-16T22:54:08+00:00Added an answer on May 16, 2026 at 10:54 pm

    I think by the sounds of it, you want a fixed header and footer but the content to move with the page scrolls. in which case have a look at the source of this sample page: http://www.cssplay.co.uk/layouts/basics2.html which does exactly that!

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

Sidebar

Related Questions

I have a program which displays an image to the windows form, and places
I'm having problem when running my Windows Forms program. In the program, I have
I have a Java program which generates a text file on a UNIX server.
I have a program which simulates a physical system that changes over time. I
I have created a C# Windows Forms application which I've attempted to make as
I have a program which generates its own Wireshark pcap-file (sort of a network
Making a simple program which will generate a multiple choice form. I have an
I have a solution which consists, to put it simply, a Windows Forms Application
I have a c# program through which i am opening cmd window as a
I have a c++/windows program that receives data from another c++ program via a

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.