PDA

View Full Version : Images in Forum Description


redhawk89
05-13-2009, 02:00 PM
On my forum, I'm trying to find code that will center the image with the descriptive text, as WELL as aligning it to the right hand side of the field! So far, I can only do one or the other, with the ABSMIDDLE attribute of <img>. Check out the screenshot to see where I would like the image to be...

Seven Skins
05-13-2009, 02:04 PM
Dont know how the code is setup but have you tried "float: right" ?

.

redhawk89
05-13-2009, 02:08 PM
Dont know how the code is setup but have you tried "float: right" ?

.

do you mean trying something like <img="imagename.gif" float:right> ?

Seven Skins
05-13-2009, 02:09 PM
<img src="imagename.gif" style="float:right">

Like this.

redhawk89
05-13-2009, 04:52 PM
It sort of worked, but it's under the text now, not next to it. Check it out in the attachment.

Seven Skins
05-13-2009, 06:15 PM
Then ... you will have to make a table to do what u wanna do.

Fill in the code where it says Forum name etc ....

<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>Forum Name</td>
<td align="right" valign="middle" rowspan="2">Icon</td>
</tr>
<tr>
<td>Forum Description</td>
</tr>
</table>



https://vborg.vbsupport.ru/ (http://img91.imageshack.us/my.php?image=0634.png)

redhawk89
05-13-2009, 08:15 PM
Then ... you will have to make a table to do what u wanna do.

Fill in the code where it says Forum name etc ....

<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>Forum Name</td>
<td align="right" valign="middle" rowspan="2">Icon</td>
</tr>
<tr>
<td>Forum Description</td>
</tr>
</table>



http://img91.imageshack.us/img91/9699/0634.png (http://img91.imageshack.us/my.php?image=0634.png)

What template is that in? I'd have to set it individually somehow?

Seven Skins
05-13-2009, 08:30 PM
Where and how did you add those images?

ProSkinner.com
05-14-2009, 06:19 AM
You want to edit the forumhome_lastpostby template. I'd like to help... can you please post the code from that template, here?

Seven Skins
05-14-2009, 03:21 PM
Where and how did you add those images?

What I meant to say was how did you add those images?
What hack you are using?

Then we can help you.

redhawk89
05-15-2009, 01:08 PM
What I meant to say was how did you add those images?
What hack you are using?

Then we can help you.

I'm not using any hacks at all. I just made a new folder in my images folder and put a couple there. I've just about given up -- instead I think what I want to do is replace the images on the left hand column, the "read" and "mark forum read" icons to the immediate left of the forum description.

defi
05-17-2009, 02:43 PM
<div style="margin:0 auto; width:auto">
<div style="float:left">Forum Description, Brah</div>
<div style="float:right"> Your image src </div>
</div>