1
bravo20
Image in news
  • 2006/4/8 21:12

  • bravo20

  • Just popping in

  • Posts: 3

  • Since: 2006/4/7 1


If i insert an image in a news item the text starts directly next to the image. I mean the text touches the image. How do i get the text a couple of pixels away from the image?

I guess its something in de code but im not that good whit PHP.

2
martyboy
Re: Image in news
  • 2006/4/8 22:37

  • martyboy

  • Quite a regular

  • Posts: 256

  • Since: 2004/5/25


I take it your inserting an image from the XOOPS imagemanager? One way of doing what you want is this, isert your image as normal then remove the [ img ][ /img ] tags and place the url of the image inside html tags:

<img src="http://yoursite.com/uploads/img1234.jpg" align="left" hspace="10" vspace="10">


The hspace="10" part makes the the text basically 10 pixels away from the image. you can change the attributes within the code to suit your own needs.

Remember to enable html when posting your news.

Hope this helps.
Michael Jackson = King Of Pop

Xoops = King Of CMS

Login

Who's Online

174 user(s) are online (128 user(s) are browsing Support Forums)


Members: 0


Guests: 174


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits