Log in or register to post comments
Last post
hozyali's picture
Joined: 12/09/2007
Posts: 10
messy css inline styles
Hi,

I am having an issue with css styles being added for no use. I an submitting an article with only <p> tags for paragraphs and no other tags or styles. But its being saved in the database with a lot of inline CSS codes. I need to fix this.

Here is an example.
I added the text like this
<p>One of the problems that guitar players face from time to time is a rut in their guitar practice. You will pick up your instrument and basically do the same thing you have been doing for the last few months each day and not improving too much. There are some things you can add into your guitar practice routines to change it up and hopefully improve your ability.</p>


But it saved this in the database
<p style="font-family: Verdana,sans-serif; font-size: 10pt; font-weight: normal;">
   <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span class="Apple-style-span" style="color: rgb(75, 75, 75); font-family: Verdana,sans-serif; font-size: 13px;">One of the problems that guitar players face from time to time is a rut in their guitar practice. You will pick up your instrument and basically do the same thing you have been doing for the last few months each day and not improving too much. There are some things you can add into your guitar practice routines to change it up and hopefully improve your ability.</span></span></p>


Please help.
hozyali's picture
Joined: 12/09/2007
Posts: 10
Re: messy css inline styles
can anyone help in this case? its a bit urgent to fix.

thanks