Upgraded to CMS 1.7.1 Class styles no longer function

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
Joesurf
Forum Members
Forum Members
Posts: 35
Joined: Wed Apr 01, 2009 11:36 pm

Upgraded to CMS 1.7.1 Class styles no longer function

Post 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;
}
Jude
Forum Members
Forum Members
Posts: 31
Joined: Fri Aug 08, 2008 2:01 pm

Re: Upgraded to CMS 1.7.1 Class styles no longer function

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Upgraded to CMS 1.7.1 Class styles no longer function

Post 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....
Joesurf
Forum Members
Forum Members
Posts: 35
Joined: Wed Apr 01, 2009 11:36 pm

Re: Upgraded to CMS 1.7.1 Class styles no longer function - Solved

Post 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
Locked

Return to “[locked] Installation, Setup and Upgrade”