Viewing in Browser

U

Uriah Piddle

Hi Gang,

How do you center an ASP.NET 2.0 website in the browser window? My website
is 800 px wide and it renders to the left in all the browsers.

Thanks.

Steve
 
S

Scott M.

This has nothing to do with ASP.NET. It has to do with fundamental web page
design. If your target audience is the 800 x 600 crowd, and you want your
content centered within the 800, you should make a one row by one column
table that is 760 pixels (not 800: subtract 40 pixels for the built-in
browser scroll bar) wide and center the table. Then just put your entire
web page content inside that one celled table.
 
U

Uriah Piddle

Thanks Scott.



Scott M. said:
This has nothing to do with ASP.NET. It has to do with fundamental web
page design. If your target audience is the 800 x 600 crowd, and you want
your content centered within the 800, you should make a one row by one
column table that is 760 pixels (not 800: subtract 40 pixels for the
built-in browser scroll bar) wide and center the table. Then just put
your entire web page content inside that one celled table.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top