Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 30th, 2005, 04:06 AM
Registered User
 
Join Date: Apr 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anil_76781
Default how i display asp.net pages in centeron resolution

hi!

my project is in asp.net ,
my forms all are designed at 800 resolution , suppose if i change my resolution to 1024 or any my page will display very small and in left top .
i would like to display my asp.net pages in center with same effects in center only. how can i
plz help me

p.anil kumar
 
Old May 2nd, 2005, 08:53 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

The most compatible way I have found for centering something in the browser is to place the visible HTML inside a single table like this:

<table height="100%" width="100%"><tr><td align="center" valign="middle">
   ... all my centered stuff goes here ...
</td></tr></table>

Most likely there is a more compliant CSS method for doing this, but I'll leave that up to someone more familiar with CSS.

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
Screen Resolution:HTML file display problem vamsikk XSLT 2 July 4th, 2008 03:16 AM
ASP.net web forms and screen resolution kulkarnimonica ASP.NET 2.0 Professional 4 July 25th, 2007 09:22 PM
ASP.net many pages on one page? Lofa ASP.NET 1.0 and 1.1 Basics 5 February 13th, 2006 12:59 PM
Varibles between asp.net and Asp Pages koneruvijay VS.NET 2002/2003 1 February 23rd, 2004 04:32 AM
Can't Get ASP pages to display aac Classic ASP Databases 5 July 16th, 2003 05:55 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.