Multiple class sorting bug in RSD? -...

User 2823310 Photo


Registered User
312 posts

When adding multiple classes to an element it is rearranging the class by alphabet.
So when applying the cascading style what do you go by? Or how do you get around this?

Okay, I have classes that are global. They need to be in order so they cascade.
I apply trimwork for the jQuery call, then thumb for the anchor style, then mid-pic for the image styles. It is being sorted to alphabet in RSD:
http://i64.tinypic.com/33uuzj6.gif
But in the code on this one it's getting added in the correct order:
http://i65.tinypic.com/w70y9i.gif
On one earlier I added the same thing, the same way it got arranged in the code mid-pic then thumb with the jQuery class first.

How the heck can you figure out what is where and if making a global class change where it's at? In the inspector you can't see the anchor styles. So you have to preview in a browser, the go to the source and search through that to find out if it did get added in the correct order... is this some kind of newbie faux pas I'm doing? :rolleyes:

Luckily the thumb anchor style is cascading correct for the image style in this case but I'm only on the 2nd page. These styles are applied through out the site and on different image styles.


User 103173 Photo


VP of Software Development
0 posts

Not really a bug, that is just how RSD has always sorted the class names. Surprisingly no one has ever noticed. ;)

There is no fix though to switch them in the order that they were added. The good news is for version 2.0 we are considering this as a possible enhancement. Given that there are so many things we want to add to RSD, setting priority for tasks is important. The more people that do ask for this feature, the greater weight it will be given for inclusion.
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 2823310 Photo


Registered User
312 posts

Goes to use not enhancement in my humble opinion. :)

It is not mouse nor foot,
Nor arm nor interface. O be some other name
belonging to a pc!
What’s in a name? That which we call a bug,
By any other word would smell like old feet.
User 2823310 Photo


Registered User
312 posts

Okay today I got to admit,
the "rose by any other name would smell as sweet"
quote by Shakespeare was a bit goofy.

Looked funny yesterday. :rolleyes:

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.