Hi,
I would you to edit my viewtopic just like this site that looks very good with a space when posting a left side [img] with text.
http://mivenezueladigital.com/viewtopic.php?f=2&t=30106
this is mine, text sticks with the img :(
http://vietni.com/viewtopic.php?f=25&t=51
Thank you so much,
xmenfile.
SOLVED Space Between Left Img And Posting Text.
Subject: Re: Space Between Left Img And Posting Text.
Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Blah... Just add a "touch of style" by adding a "style" tag to specify some margin like this:
By the way, I get an empty page when I visit the link to your site.
- [img align="left" style="margin-right:5px;margin-bottom:10px;"]http://www.icyphoenix.com/images/avatars/131574913047f395783c9ef.jpg[/img] Just add a "touch of style" by adding a "style" tag to specify some margin like this:
By the way, I get an empty page when I visit the link to your site.
Subject: Re: Space Between Left Img And Posting Text.
Thank you hal9000. Please look at my above link again, text does not wrap around img. i did what you told me.
wait...wait...wait. maybe i am editting it when you visited.
it works and looks better. but can we add this to bbcode so i don't have to do this each time???
Thankyou hal9000 :)
it works and looks better. but can we add this to bbcode so i don't have to do this each time???
Thankyou hal9000 :)
Subject: Re: Space Between Left Img And Posting Text.
Of course it can be added to BBCode, but I think it's better to have the choice to add or not to add it for each image. Maybe some time you need to put the images without margin or simply leave more or less margin for each image, instead have it fixed.
Subject: Re: Space Between Left Img And Posting Text.
That's right for someone as good as you, not for someone like me. :) :) Can you tell me which file I need to edit and how????
Thank you
hal9000 wrote: [View Post]
That's right for someone as good as you, not for someone like me. :) :) Can you tell me which file I need to edit and how????
Thank you
Subject: Re: Space Between Left Img And Posting Text.
You need to edit the file "includes/bbcode.php". Search for "if($tag === 'img')"
Then you can add the style tag for all the images like this:
Or whatever margin or margins you want. If you want the margin only when you use the "align" tag, then you should add some code to detect it.
Then you can add the style tag for all the images like this:
Or whatever margin or margins you want. If you want the margin only when you use the "align" tag, then you should add some code to detect it.
Page 1 of 1
You cannot post new topicsYou cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events
This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by Icy Phoenix based on phpBB
Generation Time: 0.2403s (PHP: 8% SQL: 92%)
SQL queries: 13 - Debug Off - GZIP Enabled