MyBB Community Forums

Full Version: Thead with a left floating image
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to make a thead with a float: left; image (the background for the thead text) but I am tired of trying to find out how by myself.

Does anyone have the proper coding?

Thanks.
I think it is:

.thead strong {
background:whatever;
}
Are you changing this in your css or template?
Maybe try adding a new class to the css like:
.thead_image
	float: left;
	width: auto;
	vertical-align: middle;

Then in the template, just add that div inside the thead class.
like
<td class="thead" colspan="5">
<div class="thead_image"><img src="image url goes here"  alt="" /></div>
</td>

That's how I would attempt it anyway.
Thanks I'll try that and see how it works Big Grin
Here is the code. In the image class CSS I am doing a float left and adding some margins to the bottom and right.
<p<<img class="general_pic_1 "src="old_days.jpg" width="150" height="125" /<</p<
<p<We repair most types of boots and shoes. In addition to replacing worn heels
and soles, we stitch seams, replace eyelets, repair or replace zippers,
and do just about anything that’ll keep them running for you. Most
repairs include cleaning and polishing so that your shoes look great when
we return them to you. </p>
<p style="clear:left"<We use quality <strong<Vibram</strong< and <strong<SoleTech</strong< soles and soling products.
We also stock a wide range of specialty soling products for special needs.</p<