georgepatotk Posted April 21, 2004 Posted April 21, 2004 What tag should I use to make my Webform to stay in the middle on the browser? Quote George C.K. Low
wessamzeidan Posted April 21, 2004 Posted April 21, 2004 One way of doing it is to place a one cell table of width and height 100% with all your controls in it and make its alignmnet to center Quote Proudly a Palestinian Microsoft ASP.NET MVP My Blog: wessamzeidan.net
georgepatotk Posted April 21, 2004 Author Posted April 21, 2004 by this way, if the user are viewing it with different resolution, the alignment will be very mess Quote George C.K. Low
wessamzeidan Posted April 21, 2004 Posted April 21, 2004 I'm not sure, did you try it?? its just an idea that came across my mind Quote Proudly a Palestinian Microsoft ASP.NET MVP My Blog: wessamzeidan.net
georgepatotk Posted April 21, 2004 Author Posted April 21, 2004 in html there is a tag <Centre> </Centre> it is no more existed in .net. I dont' know why Quote George C.K. Low
*Experts* Bucky Posted April 21, 2004 *Experts* Posted April 21, 2004 Per the newewst HTML documentation, the <center> tag is obselete. Instead, use <div align="center"> and </div>. To prevent messy line breaks and such, I'd reccomend declaring a table with a predefined width (say, 700-800 pixels) that most monitors would be able to fit. Then you can work with that and not have to worry about how it will look. Sure, there will be some white space, but the page will look nicer and more compact. Quote "Being grown up isn't half as fun as growing up These are the best days of our lives" -The Ataris, In This Diary
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.