Results 1 to 5 of 5

Thread: Featured Content Glider

  1. #1
    Join Date
    Nov 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Featured Content Glider

    1) Script Title: Featured Content Glider

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tentglider.htm

    3) Describe problem: How do I center the content in Internet Explorer? This script works great except on IE it comes up on the far right and most of the content is invisible. Any assistance would be great because I LOVE the script!

  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

    If this is what I think it is, don't use center tags or align=center attributes or text-align:center styles. Instead, make sure you are using a valid URL DOCTYPE like:

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    and apply the style:

    Code:
    margin: 0 auto;
    to the element you want to center. Make sure it has a set width too.

    If you want more help, we will need to see your page:

    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

  3. #3
    Join Date
    Nov 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    OOOPs my bad-

    here is the link-
    http://www.type1parents.org/index.php
    The issue may be its not actually in the index.php code but rather in a article that the page references.

  4. #4
    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

    There are a ton of center tags and other of the centering techniques that will cause problems with this script in IE. However, if you just add this style to your stylesheet:

    Code:
    .glidecontentwrapper {
    text-align: left;
    }
    It should work out.
    - John
    ________________________

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

  5. #5
    Join Date
    Nov 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    words are not enough.........


    thanks

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
  •