hi... i want a site to be centered both horizontally and vertically... the site is enclosed in a container of small width and height... i did it with IE, but not with other browsers... i created a single but huge talbe cell, in which i told to valign="middle" but opera and ff dont understand it... could you help me plz...
problem: i need to make a small site vertically centered at the document on any screen resolution...
vertical-align affects inline, inline-block elements only (this includes the text inside block elements [a P tag is one element, the text inside of it is another. Learn the DOM.]), just so you know.
Thanks for the links guys.. i will check them and post the result
@PettyRider: you did not understand the problem, there is nothing to do with vertical-align CSS property, but a vertical align as a general term.. i suggest you don't strike people until you understand the problem (and the people).. thanks anyway..
edit: if i find solution in any of your suggestions, i will sure give "thanks" to the author... :)