Forum Moderators: open
I have website which provides rss based ticker headline news to client sites. i.e. a client paste's my code on his site to display news marquee from my site. eg.
<script language='javascript' src='http://www.mysiteurl.com/ticker.html'></script>
Now when the user click's a news headline (title part of rss feed), the detail is shown (description part of feed), I want this description inside a div element at the center of page.
I have tried many common javascript methods to align the div at center but they dont work, when you have hotlinked your code (i.e. div is not centered on client site's page/screen).
Note that on google's igoogle page if you use the Google Reader gadget, it does the same functionality...
Does anybody has a suggestion.