So i have tried this so many times.. I just want to align my small simple site vertically so it is centered vertically on any browser resolution.
I tried this http://en.kioskea.net/faq/933-centering-vertically-a-web-page as it seemed like the easiest but it will not work. I made the center.js file with that script.... then I put this
<!-- [...] -->
<script type="text/javascript" src="center.js"></script>
..in my head and
<div id="centering">
<!Put the code of your webpage here. It will be centered -->
</div>
in my body....
then what do I do ? Just put the center.js file in the main folder of my website?? That is what I did and it does not work...
www.drawingaway.com
thanks if anyone know how to fix it.
I tried this http://en.kioskea.net/faq/933-centering-vertically-a-web-page as it seemed like the easiest but it will not work. I made the center.js file with that script.... then I put this
<!-- [...] -->
<script type="text/javascript" src="center.js"></script>
..in my head and
<div id="centering">
<!Put the code of your webpage here. It will be centered -->
</div>
in my body....
then what do I do ? Just put the center.js file in the main folder of my website?? That is what I did and it does not work...
www.drawingaway.com
thanks if anyone know how to fix it.