Expression Web Reformats Stylesheet

I think I’ve finally pinpointed an Expression Web bug that has been driving me crazy.
I like to define multiple selectors all at once in stylesheets by separating them with commas. For example — instead of defining the font color for each heading, like this:

h1 { color: red }<br />
h2 { color: red }<br />

… you can list the different selectors with commas to define the font color all at once, like this…

h1, h2, h3, h4, h5, h6 { color: red }

Well, I noticed that at some point (and I didn’t know when until today), Expression Web would break out all the selectors into their own individual rules. So my simple CSS code would get turned into this:

h6 { color: red } <br />
h5 { color: red }<br />
h4 { color: red }<br />
h3 { color: red }<br />
h2 { color: red }<br />
h1 { color: red }

I found this pretty aggravating, so today I finally sat down and worked hard to figure out what triggered the bug.
From my testing, it looks like if you copy content from one page in Expression Web and paste the content into another page, the bug will be triggered and your stylesheet reformatted. The unfortunate thing is that there is no way to “undo” the change — you’d have to go back and manually type out your rules for them to be the way that they used to be.
I’ve put in a post at the Expression Web newsgroup and will keep you posted if there are any updates on this issue. If you’ve come across anything else, please post a comment!
In the meantime — I’ve saved a copy of my properly formatted stylesheet as “backup.css,” and use that to replace my stylesheet if I inadvertently reformat it by copying and pasting (which I do quite often!).

Leave a Comment

Your email address will not be published. Required fields are marked *

Enter Code *

Filed Under


Anyone who has 'attended' a physical meeting by 'conferencing in' in knows the frustrations & limitations that come from not being in the room. You're the voice in the ceiling & not equally represented in the conversation.

This is no longer acceptable.

Today, we find ourselves facing the “hybrid work paradox.”

Employees are keen to retain flexibility. At the same time, human-to-human collaboration remains important.

To marry the best of both, hone your strategy, spaces, & tech to suit employee needs.

It's the day of the show, y'all!

Join the #PixelMillWebinars this morning at 11am PST for a live panel discussion about what the #digitalworkspace looks like for a #hybrid team, & how #Microsoft365 can empower your users no matter where they're working.


Join the #PixelMillWebinars this Thursday as we welcome key players from @OrchestrySoft, @KieferConsult, and @AP_Mortgage to discuss the hybrid work paradox and how #Microsoft365 can empower your users no matter where they're working.

We've all been itching to get "back to normal," but what does that mean? Are we missing out on valuable lessons learned by trying to return to something that perhaps wasn't working before?

Join us next week for a live panel discussion on the new normal.

Subscribe to PixelMill's

* indicates required

Let's Talk Digital
Workspaces Today

Get In Touch