Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
margin image in sidebox theme
#1
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
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
(11-06-2019, 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>
Reply
#4
Thanks
[Image: bannermybb.jpg]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)