View Single Post
Old 03-19-2009, 03:33 PM   #24 (permalink)
allworknoplay
The Gregarious
 
allworknoplay's Avatar
 
Join Date: Feb 2009
Location: New York
Posts: 645
Thanks: 64
allworknoplay is on a distinguished road
Default

Quote:
Originally Posted by Krik View Post
HTML Code:
<div id="layer1" style="position:absolute; top:50; left:50; width:1024; height:100; z-index:1; padding:5px; border:#e0e0e0 1px dashed; background-color:#EEEEEE; text-align: center;">
Test
</div>
Will align the text center.

Or if you need the div centered use
HTML Code:
<body style="margin: 0 auto;">
<div id="layer1" style="position:absolute; top:50; left:50; width:1024; height:100; z-index:1; padding:5px; border:#e0e0e0 1px dashed; background-color:#EEEEEE;">
Test
</div>
</body>
And yes I know, it's not one anyone could have guessed.

Still doesn't work for me. I will post the issue that I am having on a website so you guys can take a look...
allworknoplay is offline  
Reply With Quote