Just so you know, this css stuff looks differently in different browsers. In a Firefox browser (Mozilla), your gallery doesn't have any rollover effects. That's because the effects are created with MS filters that only MS browsers like IE6 understand. That's not all bad since something like 70% of all browsers are IE6. But, in a Firefox browser, all the rollover stuff is ignored, and I see square images with text centered nicely underneath them.
On the other hand, in IE6, I see the problem you are referring too. If you click on View>Source you can see the html for your gallery page. Then you can look through the HTML to find the tags that surround the content you want to change. Using Search>Find will help you search for the text you are interested in. However, you have to know a little bit about html to do that because the text sometimes appears in several places in the html, but it's only displayed in some places, and you are interested in chaing the text where it is displayed.
Anyway, first off, the the caption on the page with the full size image looks like this:
- Code: Select all
<b>Avelshanar</b>
So, you can change the style of that text by altering the style of the b tags. Initially, you might try something like this:
b{
font-size: medium;
}
Some other choices are:
xx-small | x-small | small | medium | large | x-large | xx-large
That would change the font size of all text between all b tags. But, there may be other b tags on the page that surround text that is not a caption, and you would end up also changing that text's font size However, you may want to confine the change only to the captions.
If you look closer at the html surrounding the captions:
- Code: Select all
<TD class="thumbnail" align=center><A HREF="http://www.pbase.com/occ/avelshanar" class="thumbnail"><IMG class=thumbnail src="http://mikami.image.pbase.com/u38/occ/small/24887135.harimauscaesarofcadbury.jpg" WIDTH=160 HEIGHT=92 border=0 alt="Avelshanar"></A><br><b>Avelshanar</b></td>
they are also enclosed by TD tags which have the class "thumbnail". That means you could use a CSS rule that only affects b tags inside those TD tags. You would do that like this:
td.thumbnail b{
font-size: medium;
}
That says only for b tags that are inside a td tag when the td tag has the class="thumbnail" will the font-size be changed.
Now, on the gallery page with all the thumbnails, the text you are interested in changing is in this part of the html
- Code: Select all
<TD align=center class="thumbnail"><A HREF="http://www.pbase.com/occ/image/24887142" class="thumbnail"><IMG class=thumbnail src="http://mikilo.image.pbase.com/u41/occ/small/24887142.johnjohnsshamansblues.jpg" WIDTH=151 HEIGHT=160 border=0 alt="7:e Bästa ungdjur: Johnjohn's Shamans Blues"></A><br><font size=3>7:e Bästa ungdjur: Johnjohn's Shamans Blues</font></TD>
This is the part that displays the text:
- Code: Select all
<font size=3>7:e Bästa ungdjur: Johnjohn's Shamans Blues</font>
Notice, the font tags are also surrounded by TD tags with the class='thumbnail". I think you should try adding some 'padding' to the td.thumbnail style. Padding is the amount of space between the text and the imaginary box created by the td tag that surrounds the text.. You might want to try something like this:
td.thumbnail{
...
...
...
padding-bottom: 30px;
}