473,509 Members | 2,863 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Aligning controls

Hi,

I want to align controls to the center of the screen how can i do this?
Would i have to put them in a div and center them up that way ?
Nov 19 '05 #1
2 1266
That is the most common approach, yes.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Douglas Adams" <non> wrote in message
news:es**************@TK2MSFTNGP14.phx.gbl...
Hi,

I want to align controls to the center of the screen how can i do this?
Would i have to put them in a div and center them up that way ?

Nov 19 '05 #2
Here are some other control positioning options for you:
http://SteveOrr.net/articles/ControlPositioning.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Douglas Adams" <non> wrote in message
news:es**************@TK2MSFTNGP14.phx.gbl...
Hi,

I want to align controls to the center of the screen how can i do this?
Would i have to put them in a div and center them up that way ?

Nov 19 '05 #3

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

Similar topics

0
820
by: AlexB | last post by:
Hey all, I've got an ASP.NET app with a user control. The problem I have is that the controls in the user-control align vertically differently, i.e. the textboxes and dropdownlists align with...
5
2448
by: CSDunn | last post by:
Hello, I have ‘Snap to Grid' turned off when I am working in the Design View of either a form or report. However, it only seems to be off when I use the mouse. If I try to move controls with...
0
1480
by: Bruce | last post by:
Hello, Back in the Access 97 days, if I had two texboxes on a form or report that overlapped, and I selected both and did a Format, Align, Top from the menu in design view, the controls would...
1
1307
by: Jennifer | last post by:
I have a datagrid where I am trying to align some columns to the center. The rest should be aligned to the right. When I try the code below I get an error message saying that the index is out of...
2
1390
by: martinharvey via DotNetMonster.com | last post by:
This is probably a really simple question but i would grateful for some help. I have some text box controls that i want to align vertically with webmatrix. I selected the controls and then tried...
5
12535
by: Raj | last post by:
Hi, I have a ASP.NET project which is working fine and I need to align controls in a .aspx page. The webform( .aspx page) has variety of controls (labels, textboxes, radio buttons etc) and when...
2
3331
by: Joe | last post by:
Hello All: Is it possible to align text (left, center, right) in a label, literal or literalcontrol? I haven't seen any examples and can't seem to work this one out (which means that it is...
1
3026
by: Eric | last post by:
I have a user control (with three controls inside it) that appears multiple times in the containing page. Sometimes I want to hide the rightmost control in the UC but if I do that it screws up the...
1
1031
by: Eric | last post by:
It seems a quite difficult problem. What is the best way to make page and all the controls fit nicely in the browser window? I have a 3x3 table and controls in it and want it to automaticaly...
0
7237
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
7347
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7506
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5062
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4732
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3218
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3207
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
779
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
443
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.