Thanks. What ended up working was:
* {
display: block;
font-size: xx-small;
line-height: 0.0001;
}
with overrides for the elements I need to show. Line-height can't be 0,
but can evidently be infinitely small :-) The results look good. See
the bottom pane here:
https://doc.workday.com/xxe/reviewer_comments_pane.png
-----Original Message-----
From: Hussein Shafie [mailto:[email protected]]
Sent: Wednesday, May 05, 2010 2:06 AM
To: Mark Fletcher
Cc: [email protected]
Subject: Re: [XXE] Looking for a CSS solution to "hide all except..."
Mark Fletcher wrote:
> I'd like to be able to show a styled view of a DITA document that
shows
> only the draft-comments. These elements are inline and ubiquitous;
they
> can be inserted virtually anywhere. Is there any relatively easy css
> solution to hide everything except these elements? I know I could do
> this using a transform in a custom pane, but I'd like the document to
be
> actionable so the user can edit or insert additional comments.
>
I'm sorry but I don't see any easy CSS solution to do that. Something
like:
---
* {
display: none;
}
draft-comments {
display: block;
}
---
simply cannot work.
If you want an easy CSS solution then I'm affraid that you'll have to
lower your expectations. I mean, make less visible, rather than hide,
all elements which are not draft-comments.
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support