jbilisnki Posted January 28, 2004 Posted January 28, 2004 I created a ASP.NET page in the smallest resolution. When I change my resolution settings to the largest the Table I put all of my (Labels, datagrid, etc...) in shows up in the left hand corner of the screen. Where do I put the Table tag (or is it the table tag) so I can get the entire page to center in the middle of the screen when I change the resolution settings? Please Help! Quote
samsmithnz Posted January 28, 2004 Posted January 28, 2004 Do you want the table to be centered in the middle of the screen, or do you want to scale it? If you want it centered, add this align property to the Table tag (<TABLE>) align=center If you want it to scale, use percentages for your widths. Quote Thanks Sam http://www.samsmith.co.nz
jbilisnki Posted January 28, 2004 Author Posted January 28, 2004 I tried scaling it. When I did this the Table was a 100% of my browser window, but when I changed the resolution settings of my desktop the table and the HTML inside of it showed up really tiny in the Left-hand corner of the screen. How do I get the entire page to size up to the resolution settings so it looks the same in a differnet resolution. Quote
samsmithnz Posted January 28, 2004 Posted January 28, 2004 can you post the HTML? (its not too big is it) Quote Thanks Sam http://www.samsmith.co.nz
tate Posted January 28, 2004 Posted January 28, 2004 Something doesn't sound quite right. Text font size if specified in your html code will always remain the same. However, as the resolution increases the text will appear smaller; especially if you have not chosen to install larger fonts when changing to say 1024 x 768. Make sure your font size is specified in your code (<font name="Arial" size="3">). To insure your text and table stay in the correct position try wrapping all of your html in a 1x1 table and specify the size; <table width="600" align="center"> <tr> <td><table width="100%"></td> </tr> </table> Quote
samsmithnz Posted January 28, 2004 Posted January 28, 2004 Something doesn't sound quite right. Text font size if specified in your html code will always remain the same. However, as the resolution increases the text will appear smaller; especially if you have not chosen to install larger fonts when changing to say 1024 x 768. Make sure your font size is specified in your code (<font name="Arial" size="3">). To insure your text and table stay in the correct position try wrapping all of your html in a 1x1 table and specify the size; <table width="600" align="center"> <tr> <td><table width="100%"></td> </tr> </table> Why did you say that? He wants it to SCALE, not stay at a width of 600. Quote Thanks Sam http://www.samsmith.co.nz
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.