Malcolm Hawker wrote:
I have about 1000 articles listed in a database and I am wanting to add an image like a banner ad into the content of the article as it is called into the page at the same spot on evey page, similar to what ninemsn etc do with the news stories

So does anyone know a way I could add something like a <cfinclude> into #articlecontent# at character x ?

Any help you give or direction to any documentation would be appreciated.

If you mean to literally have the image/banner-ad on the same spot on the page irrespective of the content then do it with style sheets so that you place the image on the page where you want it by using the position properties and the content text will just wrap round it. You then don't have to worry about things server-side, the browser will do the work for you :-)

For an extreme example look at:

http://www.mandarindesign.com/2004/01/test-1.html

The relevant CSS code is the "float" property, you can see a code description/example at:

http://www.recipesitereview.com/whycss.php


HTH,

Kym K

---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to