Hi Hussein,

Thanks a lot! Works like a charm!

Alex 
  ----- Original Message ----- 
  From: Hussein Shafie 
  To: alexm at cmsconsulting.biz 
  Cc: xmleditor-support at xmlmind.com 
  Sent: Friday, July 20, 2007 10:13 AM
  Subject: Re: Re: [XXE] Unable to Open DITA and other XML Files 


  Alex Masycheff wrote:
  > 
  > Can I ask you one more question, please? 

  Answering this kind of question (about configuring, customizing, or
  extending XXE) is reserved to Professional Edition customers.



  > If I insert shortdesc, the
  > shortdesc label appears inidicating what content should be entered. How
  > can I make XMLMind to display other text? For example, "enter a short
  > description for the topic here". I thought it is defined in
  > \XMLmind_XML_Editor\addon\dita_dtd_config\css\dita.css, tried to change
  > 
  > shortdesc:before {
  >     content: "enter_a_short_description";
  > }
  > 
  > but it doesn't work.

  That's normal according to the CSS spec.

  Excerpt of dita.css:
  ---
  shortdesc:before {
      content: "shortdesc";
  }

  example:before {
      content: "example";
  }

  related-links:before {
      content: "related-links";
  }

  @media XMLmind-XML-Editor {
      searchtitle:before,
      navtitle:before,
      shortdesc:before,
      example:before,
      related-links:before {
          content: element-name(); /*Support for specialization*/
          marker-offset: fill; /*Nicer*/
      }
  }
  ---

  If you replace
  content: "shortdesc";
  by
  content: "enter_a_short_description";
  it cannot work because of the rule having same specifity found in the
  '@media XMLmind-XML-Editor' block.

  If you add this:

  ---
  shortdesc {
      margin-left: 32ex;
  }
  shortdesc:before {
      content: "enter_a_short_description";
  }
  ---

  *after* the the '@media XMLmind-XML-Editor' block, it will work fine.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20070720/021ce532/attachment.htm
 

Reply via email to