Monday, May 24, 2010

How to make HTML contents apprear at the center of the browser?

I am trying to make my form contents at the center of the browser irrespective of the browser size. For example, if the browser is reduced to half of the monitor size even after that contents should get 'centralized' to the broweser. I tried to make the contents in a table and then make the table center.


Any help/idea?

How to make HTML contents apprear at the center of the browser?
Yes simple what ever you insert tables, pictures use this code after %26lt;body%26gt;





%26lt;div align="center"%26gt;





after finishing all work use termination code to the page





%26lt;/div%26gt;


%26lt;/body%26gt;





this will align every thind at the center.





http://360.yahoo.com/jcbroogley
Reply:The most accepted way would be the %26lt;div align="center"%26gt; tag. Although you could also use %26lt;center%26gt; which is a shorter,faster but yet older way.
Reply:%26lt;center%26gt; tags
Reply:well the important thing is that you tried....
Reply:%26lt;div align="center%26gt; is probably the best, but i think its faster to use %26lt;center%26gt;


No comments:

Post a Comment