terronis
03-29-2008, 08:24 AM
1) Script Title:
Cross Browser marquee II
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex2/cmarquee2.htm
3) Describe problem:
I stuck the above mentioned script in a webpage and changed the text-align of the marqueecontainer to center. In firefox, its wonderful, the stuff appears in the center of the div (as expected). In IE7 (sigh), however, this doesnt work. What it does is aligns the center of the div content with the right edge of the div and renders it there.
Just incase the explanation above is lacking:
| some text | <- in firefox
| some| <-in IE7
(where the pipes represent the edges of the div)
i'm not able to post the page URL but to see what i am talking about you can just edit a local copy of http://www.dynamicdrive.com/dynamicindex2/cmarquee2.htm and add in the text-align:center CSS style.
Anyone know why this is happening?
Thanks in advance,
Anth
Cross Browser marquee II
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex2/cmarquee2.htm
3) Describe problem:
I stuck the above mentioned script in a webpage and changed the text-align of the marqueecontainer to center. In firefox, its wonderful, the stuff appears in the center of the div (as expected). In IE7 (sigh), however, this doesnt work. What it does is aligns the center of the div content with the right edge of the div and renders it there.
Just incase the explanation above is lacking:
| some text | <- in firefox
| some| <-in IE7
(where the pipes represent the edges of the div)
i'm not able to post the page URL but to see what i am talking about you can just edit a local copy of http://www.dynamicdrive.com/dynamicindex2/cmarquee2.htm and add in the text-align:center CSS style.
Anyone know why this is happening?
Thanks in advance,
Anth