Home Forums General XMetaL Discussion attribute display and styling Reply To: attribute display and styling

Derek Read

Reply to: attribute display and styling

1. Try something like this:
* {
   prefix-format: "%attribute-list;";

2. The prefix-format property is proprietary and because it fulfills a very specific purpose it cannot be styled (historically, because it is not part of standard CSS no work has been done on it since W3C defined :before and :after selectors and the content property). In order to do what you want here you will need to try standard CSS. Something like so will get you fairly close:

selector:before[attributename] {
  content: "some descriptive text: " attributename " more descriptive text if you like";
  display: block;
  color: blue;
  font-size: 2em;
  background-color: yellow;

To do this for all elements refer to answer #1 (ie: replace the selector and settings for every element with one or more * selectors).

3. No.