layout - How to put a div in center of browser using CSS? -


How to put both the browser vertically and horizontally by using CRS in the browser ?

HTML:

  & Lt; Div id = "something" & gt; ... content ... & lt; / Div & gt;  

CSS:

  # some {status: absolute; Height: 200 pixels; Width: 400px; Margin: -100px 0-200px; Top: 50%; Left: 50%; }  

Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -