View Full Version : How to wrap the text around the picture ?
Fivetide
10-19-2008, 04:00 PM
I have been through the treads looking for a simple way of wrapping the text around a picture just like on the front page of this site.. im not a coder so a simple method would be excellent
Is there like an advanced edior mod for vbulletin that I can add to the site or is what we have all we can use ?
Chimpie
10-19-2008, 05:05 PM
Try this...
<div align="justify"><p><img src ="/directory/image.png" align ="left" width="160" height="187" alt="IMAGE TITLE" style="padding: 10px;" />TEXT GOES HERE </p></div>
Change the width and height to match your image.
Fivetide
10-19-2008, 07:02 PM
You just paste this into the editor Chimpie ? and change it to your own things ?
Fivetide
10-19-2008, 07:12 PM
Nope that didnt work sorry
Chimpie
10-19-2008, 07:41 PM
Are you putting in a module or in the forum?
PhilMcKrackon
10-19-2008, 08:53 PM
Nope that didnt work sorryAs Chimpie asked... Module, thread or? :)
For that code to work in most instances HTML must be on unless it's in a BBcode CMPS module.
Fivetide
10-20-2008, 04:25 AM
Its a thread that Im using on the home page as news .. to much white space I want it to look like vbadvance news articles on their front page.. the text wrapping around the picture.please :)
Are there no better editors like the ones used in blogs ?
PhilMcKrackon
10-20-2008, 08:29 AM
Its a thread that Im using on the home page as news .. to much white space I want it to look like vbadvance news articles on their front page.. the text wrapping around the picture.please :)
Are there no better editors like the ones used in blogs ?The article on your site is a VBulletin thread. It will use what ever formatting in the vBa block that the thread uses. If you want a 'news' article that wraps around images, you will need to create a html or bbcode module and create a specific article in the module or format your thread as you want. (BTW - there are no images in your thread to wrap around the text)
You could create a couple of custom BBcode's using the HTML that Chimpie posted to do this. I use some special ones I posted IN THIS POST (http://www.vbadvanced.com/forum/showpost.php?p=157383&postcount=74) to do this with tables. You can see an example of this technique IN THIS THREAD (http://www.jeep-cj.com/forums/f89/jeep-trailhawk-113/)
Try that:
<div align="justify"> <img src="path to image" align="left" hspace="8" vspace="8" alt=""/>
Dont forget to close the </div> if you are concerned about the integrity of your code.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.