473,396 Members | 1,860 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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
Nov 17 '09 #1
1 1325
Frinavale
9,735 Expert Mod 8TB
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
Nov 20 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: Tom Szabo | last post by:
Hi, Just wondering if there are any disadvantage in absolute positioning controls on a page? In example instead of putting the text fields into a table to align properly, one would absolute...
4
by: Jane Withnolastname | last post by:
I am trying to re-work an old site by replacing the html with css. On the main page, I have a logo image which I needed centred on the initial screen. I found the solution here:...
7
by: Griff Miller | last post by:
Please see http://home.houston.rr.com/gmiller15/css/vertprob.html . In mozilla 1.6/1.7 it looks the way I want it, with a thin separation between the two boxes. In IE6, the two boxes touch, which...
2
by: hzgt9b | last post by:
Using Visual studio 2003 and VB.NET, I want to programatically position a control (windows media player) on my form. For example, I want to position the control in 1 of 9 locations: topLeft,...
2
by: Henry Wu | last post by:
Hi,.. I have 2 forms with the same width & height, one with 100 opacity and the other with 50% opacity. Since I'm in an MDI application, the form with the 50% opacity cannot be a MDI Child or else...
6
by: | last post by:
I just installed VS 2005. Was working with 2003 and .Net 1.1. Trying to get the feel for a master page and I'm having some issues. I'm looking for a pretty basic setup. Standard header with an...
1
by: Hamed | last post by:
Hello I have a question about CHILD forms in an MDI form. How can I have a neat positioning of child windows in an MDI form? When I open a new child window in my MDI form it is opened in a...
1
by: Rich | last post by:
Hello, Is there a form property that can be set for positioning a form with respect to the parent? I could have sworn I saw such a property like Center window, or Parent something... But I...
1
by: OHM | last post by:
I havent done much with 2005 since 2003 Beta release, but Im not getting back into it and I have a question on the Subject Matter. If I change my positioning to absolute in the Positioning...
6
by: Mark | last post by:
hi, i'm trying to position something in the top right corner of a container, but i can't seem to figure out how to get it working. here's the html <div class='thumb'><a href='image.jpg'><img...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.