PDA

View Full Version : Ultimate Fade-in slideshow (v2.1) - Description alignment



Toygrubin
10-10-2009, 05:51 PM
1) Script Title: Ultimate Fade-in slideshow (v2.1)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

3) Describe problem: Is there a way to change the description alignment? It currently aligns to the left and i would like just the text to be centered in the description panel.

jscheuer1
10-10-2009, 06:13 PM
Add this to your stylesheet:


.descpanelfg {
text-align: center;
}

Or if you have no stylesheet, place this (highlighted) in the head of your page:


<style type="text/css">
.descpanelfg {
text-align: center;
}
</style>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>

as shown, right before the script tag for jQuery.