Results 1 to 2 of 2

Thread: Putting Slideshow Text in the Middle

  1. #1
    Join Date
    Apr 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Putting Slideshow Text in the Middle

    Ultimate Fade-in slideshow (v2.4)
    http://www.dynamicdrive.com/dynamici...nslideshow.htm

    Not really a problem, just a question - How does one centre the text on the popup?

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    You mean the caption on top of the image?

    The <div> that contains the text has the class descpanelfg.

    The simple solution to this will be to add the following CSS either to <style> tags in the <head> section of your page or to add it to an external .css file. Remember: the order of CSS does matter, so if it doesn't work at first it may be because there is another CSS property that left-aligns it. You can move it to a lower place in the page's source code (if it is set after the old setting, it will use this newer setting), or you can add !important.

    Code:
    div.descpanelfg { text-align:center; }
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

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
  •