Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: ElLizzardo - joulukuu 11, 2005, 02:52:10 IP

Otsikko: Image align with margins
Kirjoitti: ElLizzardo - joulukuu 11, 2005, 02:52:10 IP
I don't know if this has been posted, couldn't seem to find it, so I found it on my own and thought I'd share it.

If you are interested in having images in your posts with alignment and margin space around the picture (so the text isn't right up to the pic), try this:

[html]<img src="http://www.yoururl.com/images/imagename.jpg" vspace="5" hspace="10" align="left">[/html]

and, of course, for right alignment:

[html]<img src="http://www.yoururl.com/images/imagename.jpg" vspace="5" hspace="10" align="right">[/html]

You can adjust the h and vspace to your liking (set in pixels).
Hope this helps someone.
Otsikko: Re: Image align with margins
Kirjoitti: JayBachatero - joulukuu 11, 2005, 03:26:53 IP
Remember that the html tags only work for admins. ;)
Otsikko: Re: Image align with margins
Kirjoitti: sadiqbaig - tammikuu 21, 2006, 01:50:08 IP

i want to get banner on left side

of my forum

plz post the code

Otsikko: Re: Image align with margins
Kirjoitti: JayBachatero - tammikuu 21, 2006, 01:58:00 IP
Please search for [[search:add a banner]].  This has been ask a number of times before.

-JayBachatero
Otsikko: Re: Image align with margins
Kirjoitti: sadiqbaig - tammikuu 21, 2006, 02:57:05 IP

yeah thats the easiest answer 2give

coz i searched the forum many times

i did find many topics on it

but they didnt have the solution for adding

tower banner on left

1 did have that topic

but no solution to it

i have added many mods n succesful in it

but i just want to get the tower banner on left

also i did read adsense in various position topic

n did reply there but

no 1 has still replied to my answers

neways tanx 4ur help

btw SmF Rocks  :) ;)
Otsikko: Re: Image align with margins
Kirjoitti: JayBachatero - tammikuu 21, 2006, 03:06:35 IP
Well this wouldn't be the topic to post this in.  It should go on a new topic on the Graphics board ;)  These two things are unrelated.

-JayBachatero
Otsikko: Re: Image align with margins
Kirjoitti: sadiqbaig - tammikuu 21, 2006, 03:28:28 IP

yeah thats rite :)


http://www.simplemachines.org/community/index.php?topic=66990.0