In text images (text w/image)

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Glovebox
Posts: 15
Joined: Fri 11. Nov 2005, 14:41

In text images (text w/image)

Post by Glovebox »

I have having great difficulty with this content part.

It just wont work, example.. {link removed}

The image is supposed to be in-text (right) but just displays above. Any idea's?
Last edited by Glovebox on Thu 17. May 2007, 14:56, edited 1 time in total.
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

You need to look into using some of the CSS classes that are accompanying that content-part... like:

.imgDIVTextRight {
.image_td {
.image_img {
.image_caption {

ETC...

It's being "rendered" in the browser like this:

Code: Select all

<div class="imgDIVinTextRight" align="right"><div class="image_td"><a href="content/images/d9a1017cf79bea745892f1fe3848b279.jpg" rel="lightbox" title="Stop Smoking!" target="_blank"><img src="content/images/bad0ae140f4f4fac7c1c2454f3272c96.jpg" class="image_img" alt="bb7.jpg" border="0" height="111" width="150"></a></div><p class="image_caption">Stop Smoking!</p></div><div class="articleText"><p>With the Uk's smoking ban on July 1st 2007 fast approaching, companies need to take action now.<br>
<br>
Smoking will be banned by law in all offices, factories, pubs and clubs, resteraunts, any place of work and any public place.&nbsp; You can help your employee's, not only by helping them quit, but also improving their quality of work and workrate.<br>
<br>
We have already helped many companies achieve this with our Stop Smoking, one day program.<br>
<br>
One our most recent courses was held with Arcelor of Sheffield (formerly Estate Wire Ltd), who put 13 of their workshop staff through our Stop Smoking program.&nbsp; A large percentage of these people are now dedicated non smokers, thanks to our unique and effective course material.<br>
<br>
To read testimonials from people on this course, please <a href="http://www.scottwhitetraining.co.uk/arcelor_stop_smoking.phtml">click here</a>.</p></div>
Glovebox
Posts: 15
Joined: Fri 11. Nov 2005, 14:41

Post by Glovebox »

Thanks mate, it worked. :)
tony_yates
Posts: 1
Joined: Sat 28. May 2005, 09:20

Post by tony_yates »

DeXXus wrote:You need to look into using some of the CSS classes that are accompanying that content-part... like:

.imgDIVTextRight {
.image_td {
.image_img {
.image_caption {

ETC...
How do you use these? Prior to upgarding to 1.3.1 the text w\image buttons worked without having to 'code' anything, is there a fix to this?

Cheers,
Tony
Post Reply