Page 1 of 1
Upgraded to CMS 1.7.1 Class styles no longer function
Posted: Tue May 11, 2010 10:01 pm
by Joesurf
After upgrading to my CMS 1.7.1 from 1.6.6 my CSS class styles show in the TinyMC page editor but no longer display properly or at all in the user viewable page.
Below is a sample of the produced html that appears incorrectly:
Bold Text
As defined in my CSS:
.Bullets {
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
color: #333333;
text-align: left;
font-weight: bold;
line-height: 16px;
}
Re: Upgraded to CMS 1.7.1 Class styles no longer function
Posted: Fri May 21, 2010 6:28 pm
by Jude
Hi,
this might be easy solution: change your to or define your CSS like ".bullets" instead of ".Bullets".
You see, even CSS isn't case sensitive, XHTML is. And CMSMS writes XHTML instead of HTML, where there is no matter how you write your classes an CSS's.
Hope this helps.
-jude
Re: Upgraded to CMS 1.7.1 Class styles no longer function
Posted: Fri May 21, 2010 9:09 pm
by Dr.CSS
actually CSS is case sensitive bullets is not the same as Bullets in any way shape or form in CSS, I suggest never using uppercase in any XHTML/CSS not in IDs or classes or tags etc....
Re: Upgraded to CMS 1.7.1 Class styles no longer function - Solved
Posted: Mon Aug 23, 2010 3:24 am
by Joesurf
You are correct - I discovered this by accident before I saw your post.
The issue was case sensitive. Changed 'Bullets' to 'bullets' and 'Float Right' to 'float right' and these once again functioned in CMS.
The caps were not an issue in HTML but are in CMSms or as you say XHTML.
Cheers and thanks.
Joe