Results 1 to 5 of 5

Thread: Center Descriptiion

  1. #1
    Join Date
    Nov 2009
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Center Descriptiion

    Hello Im new to all this and I have found the perfect script for what i need only probelm is I need to change something and have no idea how!

    the script I need help with is "Ultimate Fade-in slideshow (v2.1)"

    I have it all working correctly but this slide show has a fade up text box and the text is aligned to left I really want it to be center has anyone got any ideas how to do this?

    Any help is much appreciated.

  2. #2
    Join Date
    Nov 2009
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

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

    Add this to your stylesheet:

    Code:
    .descpanelfg {
     text-align: center;
    }
    Or, if you have no stylesheet, add this to the head of your page:

    HTML Code:
    <style type="text/css">
    .descpanelfg {
     text-align: center;
    }
    </style>
    - John
    ________________________

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

  4. #4
    Join Date
    Nov 2009
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    There was already a style being called without any presets?!?!? strange didnt notice that at all thought I tould have to write a style into the java?!?! can you explain where you seen that?

    Thanks

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

    The default text-align property value for all elements to which it can apply is left. So there need be, and is not anything in the script that sets it as left. We are, by adding our own style directive, simply telling the browser how we want our text aligned in the division(s) the script generates with a class of 'descpanelfg', of which it makes one each for each show you have, only one if you have only one show. This/these division(s) are for the purpose of displaying the show's descriptions, if any.
    - 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
  •