PDA

View Full Version : Help with a scroller Alignment



Tone
03-17-2005, 02:52 AM
Well I have been searching for a long time on how to align a certain scroller. Its the fading message scroller found here Fading Message Scroller (http://www.dynamicdrive.com/dynamicindex2/fadescroll.htm) I need to align it to the right. Is this possible and if so,how?

windowontheweb
03-25-2005, 06:29 AM
When I have difficulty aligning objects, I usually turn to the "<table>" tag. Try this and let me know if it works:

BEFORE the "<script type="text/javascript">" tag, try adding the following code:

<table border="0" align="right"><tr><td>

The border="0" tag is necessary to prevent the scroller from developing an extra border around it due to the table being created. Of course, don't forget to close your table like this:

</td></tr></table>

...AFTER the "</script>" tag at the end of the script.

This solution is a general suggestion that may need adjustment depending on the positioning of other objects on your page.

PS:...If you can include a link to the page you're using it on that would be helpful :)