Highlighted

Specify CSS ordering in Targeted Rule dropdown list

Contributor ,
Sep 15, 2019

Copy link to clipboard

Copied

In Code View, I have my font styles that I use the most at the top hoping that they would appear in that order in the dropdown list in Targeted Rule, but their order is totally different. How can I make them appear in the same order?

Thanks

Alan

Adobe Community Professional
Correct answer by Nancy OShea | Adobe Community Professional

CSS Class names are sorted alphabetically in the HTML Properties Panel's Class list   See screenshot.  Put your most frequently used CSS classes at the top by naming them .a1, .a2, .a3 and so on. 

 

clipboard_image_0.png

 

Views

215

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Specify CSS ordering in Targeted Rule dropdown list

Contributor ,
Sep 15, 2019

Copy link to clipboard

Copied

In Code View, I have my font styles that I use the most at the top hoping that they would appear in that order in the dropdown list in Targeted Rule, but their order is totally different. How can I make them appear in the same order?

Thanks

Alan

Adobe Community Professional
Correct answer by Nancy OShea | Adobe Community Professional

CSS Class names are sorted alphabetically in the HTML Properties Panel's Class list   See screenshot.  Put your most frequently used CSS classes at the top by naming them .a1, .a2, .a3 and so on. 

 

clipboard_image_0.png

 

Views

216

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Sep 15, 2019 0
Adobe Community Professional ,
Sep 15, 2019

Copy link to clipboard

Copied

Dreamweaver does not have the facility to order the style rules, in fact I know of no editor that will do that. The only way is to create the style rules in the order that wish them to be.

 

Having said that, I would not worry about re-arranging the CSS, especially thinking about the Dreamweaver beta version that has a vastly improved Live view.


Ben

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 15, 2019 1
Adobe Community Professional ,
Sep 15, 2019

Copy link to clipboard

Copied

CSS Class names are sorted alphabetically in the HTML Properties Panel's Class list   See screenshot.  Put your most frequently used CSS classes at the top by naming them .a1, .a2, .a3 and so on. 

 

clipboard_image_0.png

 

Nancy O'Shea, ACP
Alt-Web.com

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 15, 2019 1