Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.
Well, centering a relatively positioned DIV, as is the case here, is straightfoward enough in CSS. Unfortunately, a bug in IE means it won't work in that browser, but does in Firefox, Opera etc. Find the HTML code:
Code:
<div id="placeholder" style="position:relative; width:420px; height:32px; margin: 0 auto;"> </div>
The code in red centers the scroller. Now, for a cross browser solution, you'd have to use some silly hack. Basically, by adding a style sheet like:
<style type="text/css">
body{
text-align: center;
}
</style>
You cause all elements within the page to be centered in IE, including the scroller. Of course you probably don't want everything centered, so one solution is to define a general DIV that surrounds the entire BODY, with that DIV's alignment set to left:
Code:
<body>
<div style="text-align: left">
rest of body goes here
</div>
</body>
You can thank Bill Gates for the extra fun!
Bookmarks