Viewing in Browser

  • Thread starter Thread starter Uriah Piddle
  • Start date Start date
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
 
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.
 
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.
 
Back
Top