format question

3 posts by 2 authors in: Forums > CMS Builder
Last Post: December 2, 2008   (RSS)

By vyskocil - December 2, 2008

I built an FAQ page. When viewing the page it shows

Question: The question would be here on the same line
Answer:
But the answer would be on the line below.

I checked the code and I do not see an extra break in between the "Answer" the and php code that would cause the answer output to be placed on the line below.
Question: <?php echo $record['question'] ?><br/>
Answer: <?php echo $record['answer'] ?><br/>

Any suggestion ??

Re: [vyskocil] format question

By Damon - December 2, 2008

Hi,

Are you using a WYSIWYG editor in CMS Builder to enter the Answer content?

The reason I ask is that the WYSIWYG editor adds paragraph tags around the content entered into it, which may be the reason the Answer content drops a line.

If that isn't it, send a link to yoru FAQ page if you can so I can take a look at the source.
Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/