Redundant Embedded Styles
Permalink<style type="text/css">
#areaStyle8 {background-repeat:no-repeat; }
#areaStyle8 {background-repeat:no-repeat; }
#areaStyle8 {background-repeat:no-repeat; }
#areaStyle1 {background-image: url('/files/'); background-repeat:no-repeat; }
#areaStyle8 {background-repeat:no-repeat; }
#areaStyle8 {background-repeat:no-repeat; }
#areaStyle8 {background-repeat:no-repeat; }
#areaStyle8 {background-repeat:no-repeat; }
#areaStyle8 {background-repeat:no-repeat; }
#areaStyle8 {background-repeat:no-repeat; }
#areaStyle8 {background-repeat:no-repeat; }
#areaStyle8 {background-repeat:no-repeat; }
#areaStyle8 {background-repeat:no-repeat; }
</style>
Where are these coming from, and how do I get rid of them? They have no effect whatsoever. The page does have 3 divs with an ID of "areaStyle8", but none have a background image. And then there's the question of why there are 3 divs with the same ID. ID's are supposed to be unique per document.
Anyone have any idea?
-Steve
Then we might have an answer (or at the very least, more enticing questions ;-)).
What's more weird is that the embedded styles remain even after deleting the entire layout from the page. I have to go directly into the DB to delete the cruft.
Ah well, at least I now know never to style a cell from the design dialog. It's evil. I'll stick to stylesheets.
Regards,
-Steve
However, three of them remain, and they apparently correspond to the three layout cells on the page. A couple of things don't make sense though...
1) Each of the style definitions references a separate element (added by C5's layout engine), all of which have the same ID. ID's are supposed to be unique per document. This issue should be addressed.
2) Each of the style definitions needlessly defines an irrelevant property - in this case, background-repeat. No background was ever specified for those cells. The ONLY thing I did was add a class name in the "design" dialog for the cells - that's it. The styling is done through a stylesheet. There is absolutely no need whatsoever for these embedded styles.
Am I missing or overlooking something?
-Steve