View Full Version : Resolution independance
MarkV
01-27-2006, 06:20 AM
Hi, I noticed that my site looks too big on some computers. I realize why, but would like to make my site resolution independent.
I noticed in help, the reference to "Anchor". Sounds good as I read it, but I could not find it anywhere in my Visual Studios 2005, ASP.net 2.0.
Any help would be appreciated, or other methods for shrinking objects as the user changes the size of the web page.
Thank you, Mark
joelnet
01-28-2006, 12:05 PM
This is tricky to do, you can do it with javascript and styles. Though this will only work if their browser supports javascript. In the end, it's usually more trouble than it's worth, which is why you dont see more sites doing this.
Joel Thoms
DiscountASP.NET
http://www.DiscountASP.NET
MarkV
01-28-2006, 12:47 PM
Thanks Joel for you response. For my internet site then, how would I "Center" everything? I will make it for the smallest screen resolution, but would like it to be centered on their screen instead of left oriented. This sounds easy but am missing the method.
Thank you, Mark
joelnet
01-29-2006, 04:36 AM
You could use the <center>text</center> tag or <div style="text-align:center;">text</div> tag also.
Joel Thoms
DiscountASP.NET
http://www.DiscountASP.NET
MarkV
01-29-2006, 04:40 AM
Before I tried your solution, I tried the Document-Style-Position-Left and thought I was on to something, but will keep trying.
Thank you, MarkV
vBulletin® ©Jelsoft Enterprises Ltd.