Page 1 of 1

Defining CSS style for tag o:p

Posted: Tue Mar 20, 2007 10:18 am
by xpt
Hi,

In my PHP output, I need to define the style for contents that are enclosed by the 'o:p' tag. E.g.

Code: Select all

<o:p>This is a test string</o:p>
I've tried to define the CSS style as:

Code: Select all

o:p
	{font-style:italic; Color:red}
But it does not work. I then realized that it might not be correct.

So, how should I fix the problem?

PS. Please don't blame me for the weird 'o:p' tag. It's inherited from M$ word converted html file. I'd replace it if all else fails.

thanks

Posted: Tue Mar 20, 2007 12:24 pm
by matthijs
I think you should replace it with normal tags. Don't know what o:p is supposed to be. It's definitely no HTML.

Posted: Tue Mar 20, 2007 12:45 pm
by xpt
ok, will do. thanks

Posted: Tue Mar 20, 2007 5:08 pm
by mikeq

Posted: Wed Mar 21, 2007 2:30 pm
by xpt
good to know, thanks a lot for the post.