PDA

View Full Version : Format The Title



NoClue
10-09-2008, 01:35 AM
1) Script Title: Photo Album script v2.0

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

3) Describe problem:

How do I format the title/text (opt_image_title) in the gallery. I tried the code below but the text didn't change>

/*CSS for TABLE containing a photo album*/
.photogallery{
color: #000000;
text-align:center;
}

Thank you.

jscheuer1
10-09-2008, 05:33 AM
Well, that worked here (testing using FF Developer extension). However, for other browsers (or for pages with other styles already declared for td elements) you may need to be more specific:


.photogallery td {
color: #000;
text-align:center;
}

NoClue
10-10-2008, 09:32 PM
It seems to work with both codes below, one for some reason doesn't work:

.photogallery {
color: #000;
text-align:center;
}

.photogallery td {
color: #000;
text-align:center;
}

Thank you.