raesteyn
Well-Known Member
Your problem is probably due to you using html for layout... html hasnt been used for layout in years. Nowadays you gotta use css *with html. Once the two are combined you can do cool things like
#container{display:table;}
#container p{display:table-cell; height:100px; vertical-align:middle; text-align:center;}
<div id="container">
<p>Text/images etc in the center...</p>
</div>
And all the anger and hatred can melt away - as long as you stay away from html5 and css3 for the next 2 years, html 4 works, css2 works as well, most of the time - things go wrong in IE... made by the same company responsible for silverlight... okay, you should probably hold onto a little bit of that anger and hatred.
#container{display:table;}
#container p{display:table-cell; height:100px; vertical-align:middle; text-align:center;}
<div id="container">
<p>Text/images etc in the center...</p>
</div>
And all the anger and hatred can melt away - as long as you stay away from html5 and css3 for the next 2 years, html 4 works, css2 works as well, most of the time - things go wrong in IE... made by the same company responsible for silverlight... okay, you should probably hold onto a little bit of that anger and hatred.