...

View Full Version : How do I center this code?



PurplRose
09-28-2003, 06:41 PM
Hi there,
I would like this code to be center in the middle of a table. How can do this?

Highligher Scroller (http://www.javascriptkit.com/script/cut57.shtml)

Thanks
Karen
:)

Willy Duitt
09-29-2003, 06:42 AM
Using position:absolute I do not think you can "absolutly" center it. But you can move it towards to the center by changing the left positioning.

eg:
From:
<span id="highlighter" style="position:absolute;left:0;

To:
<span id="highlighter" style="position:absolute;left:200;



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum