Not Solved margin image in sidebox theme
#1
Not Solved
I think it does not matter what kind of the I use because its general.
But I use the Flatty theme and in the flatty theme is a sidebox.
In this side box I put a logo but the margin is to big, I wanne have it 0.
How can I make this?
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
	<tr>
		<td class="thead side">
						<strong>Custom Sidebox</strong>
			<div class="float_right" style="padding-top: 5px;"><i class="fa fa-newspaper-o"></i></div>
		</td>
	</tr>
	<tr>
		<td class="trow1">
						<span class="smalltext">
							<img class="manImg" src="http://www.ikf-forum.eu/comeback/comebackindex.gif"></img>
			</span>
		</td>
	</tr>
</table><br />
[Image: bannermybb.jpg]
Reply
#2
Not Solved
The trow1-classed <td> element may causes a padding. Remove it!
The <span> element is also not needed for an image.
So try:
<td>
<img class="manImg" src="http://www.ikf-forum.eu/comeback/comebackindex.gif">
</td>

By the way... An <img> does not need an end tag Smile

[ExiTuS]
Reply
#3
Not Solved
(2019-11-06, 03:15 PM)[ExiTuS] Wrote: By the way... An <img> does not need an end tag Smile

...but it does need a closing slash:
<td>
<img class="manImg" src="http://www.ikf-forum.eu/comeback/comebackindex.gif" />
</td>
[retired]
Reply
#4
Not Solved
Thanks
[Image: bannermybb.jpg]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)