Barnum
April 10, 2014, 12:22pm
1
I asked this question before but still can’t seem to grasp how to do it… I want to decrease the space between my photos and captions. It may have to do with my use of tables… This is what I have
<table align=“left”>
<tr>
<td><img src=“images/Gair.jpg” width=“200” height=“120”>
</td>
</tr>
<tr>
<td><center><font color="#8A360F"><font size="3">The SS Gairsoppa</font></center></td>
</tr>
</table>
And in my CSS I have the following:
.imgAndCapt{text-align:center;}
.imgAndCapt b {color: #8A360F ; display:block;
margin-top: 5px;
}
That HTML and CSS have nothing to do with one another?
Barnum
April 10, 2014, 2:13pm
3
Okay then looking at the following, why are the captions to the 2nd two photos not lining up with the first?
<table align=“center”>
<tr>
<td><img src="images/Condor.jpg" width="200" height="270">
</td>
<td><img src="images/Ernst.jpg" width="200" height="270">
</td>
<td><img src="images/sub.jpg" width="270" height="270">
</td>
</tr>
<tr>
<td><center><font color="#8A360F"><font size="3">Condor</font></center></td>
<td><center><font color="#8A360F"><font size="3"></br>Ernst Mengersen</font></center></td>
<td><center><font color="#8A360F"><font size="3"></br>U-101</br> Ernst Mengersen</font></center></td>
</tr>
</table>
Maybe because you have a <br /> in front of the second and third image’s captions
It would be easier to check if you could give a link to the page.