Defining CSS style for tag o:p

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
xpt
Forum Newbie
Posts: 23
Joined: Tue Feb 20, 2007 1:00 pm

Defining CSS style for tag o:p

Post 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
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Post 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.
xpt
Forum Newbie
Posts: 23
Joined: Tue Feb 20, 2007 1:00 pm

Post by xpt »

ok, will do. thanks
User avatar
mikeq
Forum Regular
Posts: 512
Joined: Fri May 03, 2002 3:33 am
Location: Edinburgh, Scotland

Post by mikeq »

xpt
Forum Newbie
Posts: 23
Joined: Tue Feb 20, 2007 1:00 pm

Post by xpt »

good to know, thanks a lot for the post.
Post Reply