Forum Moderators: not2easy
<div style="position: absolute; bottom: 8px; width:660px; margin: 0 auto;">
Text to Center! Text to Center! Text to Center!</div>
The code above just leaves the text at the left-hand side of the page.
The code below doesn't center the text properly.
<div align="center">
<div style="position: absolute; bottom: 8px; margin: 0 auto;">
Text to Center! Text to Center! Text to Center!</div></div>
Any ideas why these don't work?
Thanks!
<div style="position: absolute; bottom: 8px; margin: 0 auto; width: n">
<div style="text-align: center;">
Text to Center! Text to Center! Text to Center!</div></div>
n = number plus form of calibration: px, %, or em
Marshall
<div style="position: absolute; bottom: 8px; margin: 0 auto; width: 100%">
<div style="text-align: center;">
Text to Center! Text to Center! Text to Center!</div></div>
What value should be used instead of 100% in order to avoid the ugly scrollbar? Is there some rule, or should I just guess at something like 90%?