Results 1 to 2 of 2

Thread: Help on non centering image with IE7

  1. #1
    Join Date
    Sep 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Help on non centering image with IE7

    Hello,
    I've a problem with this script: http://www.dynamicdrive.com/dynamicindex2/crosstick.htm
    On IE7, the text I put is align on right and do not appear because 50% of it is hidden.
    On Firefox, all works well.
    Can so tell me how to center the text?

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    You have something(s) that are performing a layout and/or style center for the script. This makes the left edge of the inner division of content in it, which is absolutely positioned, to appear at the center mark. You can find and remove this/these centering styles/layouts, or sometimes all that is required is to do something like so:

    Code:
    <div style="text-align:left;">
    <script type="text/javascript">
    
    //new pausescroller(name_of_message_array, CSS_ID, CSS_classname, pause_in_miliseconds)
    
    new pausescroller(pausecontent, "pscroller1", "someclass", 3000)
    </script>
    </div>
    Thus (hopefully) realigning to the default left the particular scroller.

    If you need more help:

    Please post a link to the page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •