MyBB Community Forums

Full Version: How to display icon in shead? I've attempted to no avail.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Just needed some CSS work. Had to change display to inline-block and add a few margins.







I'm afraid I cannot provide you with a link to the forum directly as it is locally hosted while I work on it.
I've got this 16x16 icon that I would like to appear next to the shead/thead bars/rectangles I guess.

I'm new at CSS/HTML but I would've thought that I would have been able to do something as simple as this.

Here's the code that I tried:

	<tbody>
		<tr>
			<span class ="starfleet_icon_shead"></span>
			<td class="shead" colspan="4" align="left">Statistics</td>
		</tr>

This placement doesn't show it at all. I really have no idea why as I thought it would work.
I tried doing <td> tags around it instead of span but while that made it appear, it absolutely destroyed the look of it. 

I managed to get it to show once, but it was stuck to the text and I couldn't separate it with CSS. 

Help would be appreciated, I'd love to know what I'm mucking up.