473,320 Members | 1,881 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,320 software developers and data experts.

Center web form on screen?

I am designing my web forms around a 640x480 display resolution. How can I
center my form horizontally so it is not crammed into the left corner on
larger displays?
Jun 27 '08 #1
1 2673
Set the alignment to centered in CSS and apply to the table or div that
surrounds your site.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
"Tbone" <tr****@spam.comwrote in message
news:e%****************@TK2MSFTNGP06.phx.gbl...
>I am designing my web forms around a 640x480 display resolution. How can I
center my form horizontally so it is not crammed into the left corner on
larger displays?


Jun 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Ahmed Jewahar | last post by:
Hi All, I'm new to this forum as well as new to ASP.NET. My backgorund is ASP. But, I'm just doing my .NET course with MS Certified training center currently. I have couple of questions (it...
7
by: Alex | last post by:
Hi Everone, I need some advice on how to setup 4 columns where the outside two are absolute (120px) and the inner two (side by side) are relevent (Fluid) and change with the screen. Here's my...
1
by: C-Sharper or C-Hasher, one of the two | last post by:
Hi Guys and Gals, I have a couple of problems related to centering forms on top of each other. I have a winforms app that has a status form that I want to popup in the center of my main form...
3
by: Benny | last post by:
Hello Experts, Currently I am working on a windows application using vs.net 2002. Assume I have two forms, form A and B, where form A is the main form. In form A, I have a button which will...
5
by: Greg Cyrus | last post by:
Hi, I want to center a webform to fit any screen-resolution or Browser-Width. Webform.Width=800px. How can I center the Webform to fit any size? Greg. (Thanx in advance) What I have tried...
1
by: Ricardo Luceac | last post by:
Hi... I have a web form that let the user imput some fields.. It is Always a label and a textbox per line... But how can I center these 2 controls in a form so that if the user uses a...
2
by: SL33PY | last post by:
Hi and thank you for taking the time to read about my problem. I have a simple MDI parent form frmMain with a menu (file, edit, window, help). Under file you can create new childforms called...
3
by: jerry.ranch | last post by:
Hi I'm trying to figure out how to center forms on a page I have a form built with some tabbed pages, and I'm playing with the form properties, but it always displays top and left and not centered...
7
by: raylopez99 | last post by:
I have a logical drawing space much bigger than the viewport (the screen) and I'd like to center the viewport (the screen) to be at the center of the logical drawing space. After following the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.