Still having trouble getting captions closer to photos

If I used the following code how do I get the space between the photo and caption closer.

        <td><img src="images/alancake.jpg" width="330" height="300">
		</td>
        <td><img src="images/alanmasks.jpg" width="540" height="300">            
        
       
        </tr>
        <tr>
        
         <td><center><font color="#8A360F"></br>On the cutting edge!</center></td>
     
         <td><center><font color="#8A360F"></br>Here's looking at you!</center></td>
        
         </tr>

Okay let me try this again… here is the code I omitted above

<table align="center">
		<tr>		
			
			
            
            <td><img src="images/alancake.jpg" width="330" height="300">
			</td>
            <td><img src="images/alanmasks.jpg" width="540" height="300">            
            
           
            </tr>
            <tr>
            
             <td><center><font color="#8A360F"></br>On the cutting edge!</center></td>
         
             <td><center><font color="#8A360F"></br>Here's looking at you!</center></td>
            
             </tr>
            
 </table>

What code?

If you did give us code, please edit your post and highlight the code. Then click the </> button to format it so we can all see. THe preview pane to the right shows you how WE see it.

<table align="center">
		<tr>		
			
			
            
            <td><img src="images/alancake.jpg" width="330" height="300">
			</td>
            <td><img src="images/alanmasks.jpg" width="540" height="300">            
            
           
            </tr>
            <tr>
            
             <td><center><font color="#8A360F"></br>On the cutting edge!</center></td>
         
             <td><center><font color="#8A360F"></br>Here's looking at you!</center></td>
            
             </tr>
            
 </table>

Trying but I paste it and hit reply and it doesn’t show up?

I have no clue why it is not showing up.

You need to highlight it and use the </> button on the editor, or put three backticks ``` on a separate line before and after your code. (I’ve edited your earlier post.)

Did you read my post…? I said to highlight your code and press the code button </>

As to getting the caption closer, you do have a <br /> before the text of each caption…taht puts a big space between the image and caption. Remove them. Also, you are using old and oudated code. <center> is outdated and so is <font>

<table border="0"cellpadding="20" cellspacing="20" width="900" span style="font-family:  Comic Sans MS;" align="center" >
 

 
 <tr>
 
 
<td style="border: 2px solid black; background: #F5F5F0;">
<br>
 <table align="center">
		<tr>		
			
			
            
            <td><img src="images/alanholder.jpg" width="350" height="300">
			</td>
            <td><img src="images/alanalieta.jpg" width="440" height="300">            
            
           
            </tr>
            <tr>
            
             <td><center><font color="#8A360F"></br>Not sure about the meaning of this one Alan?</center></td>
         
             <td><center><font color="#8A360F"></br>Alan, with his lovely wife Aleita</center></td>
            
             </tr>
            
 </table>

Ryan, sorry I just noticed what you were saying…that was my problem. Guess I was more concerned with getting the code up for you all. Thank you for your help …appreciate it.

Also now know what to do when I post code the next time. Yep, you guys lose…

2 Likes

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.