The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Wordpress/ComicPress/ComicEasel adding a space at bottom of table column
Bill_the_Builder
post Apr 1 2020, 01:24 AM
Post #1





Group: Members
Posts: 2
Joined: 31-March 20
Member No.: 27,259



Here's a test I ran to show my code working outside of the Wordpress/ComicPress/ComicEasel environment -

Image Link One

And here's the same code pasted into an html widget in Wordpress/ComicPress/ComicEasel -

Image Link Two

Something in Wordpress/ComicPress/ComicEasel is adding a space at the bottom of my images. I've set the background color of the table to red so the extra space sticks out. The red bars shouldn't be there.

Here's my code -

QUOTE
<html>
<head>
<style>

img {
border:0px;
border-collapse: collapse;
border-bottom: 0px;
}

table {
border-collapse: collapse;
}

td { border-bottom: 0px;
border-collapse: collapse; }

</style>
</head>

<body>

<table
cellspacing="0" cellpadding="0" border="0" bordercolor = red>
<tr>
<td bgcolor="red" >
<img src="//www.html.am/images/image-codes/milford_sound_t.jpg" width="225" height="151" alt="Photo of Milford Sound in New Zealand" />
</td>
</tr>
<tr>
<td bgcolor="red" >
<img src="//www.html.am/images/image-codes/milford_sound_t.jpg" width="225" height="151" alt="Photo of Milford Sound in New Zealand" />
</td>
</tr>
</table>
</body>
</html>


Any ideas? I wanted to break up a long sidebar image into 4 pieces, but if I can't figure this out I'll redo the art and make it four separate images.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 13th July 2020 - 10:22 AM