Fri, 2003-07-25 20:07
Does IE just not respect 'vertical-alignment:middle'? Is there a way to force the text to be in the absolute center of a DIV? Thanks in advance.
Thu, 2003-07-31 04:54#1
How to get text vertically centered in a DIV?
I'm assuming that the div has a fixed height. If there a set amount of text, this might work.
<div style="height: 400px; position: relative; border: 1px solid black; text-align: center;"> <span style="margin-top: 200px; display: block;">centered?</span> </div>