[oXygen-user] CSS alternatives?

Sorin Ristache
Fri Feb 8 10:14:50 CST 2008


Hello,

I think the dialog for associating a CSS stylesheet should offer a field 
for the title as in the dialog for setting a stylesheet in the document 
type in the preferences. As you noted the title is necessary for the 
combo box on the toolbar but it is also required by the specification 
for alternate stylesheets:

http://www.w3.org/TR/REC-html40/present/styles.html#h-14.3.2

Also you have to set the rel pseudo-attribute to "alternate stylesheet".


Regards,
Sorin


Wendell Piez wrote:
> Hi,
> 
> Not exactly a bug, but a glitch. When xml-stylesheet PIs are being used, 
> "CSS Alternatives" appears not to work unless the CSS files are provided 
> with title pseudo-attributes in their respective PIs. I guess this is 
> not unreasonable, if you need a label for the pull-down menu. But the 
> "Associate XSLT/CSS Stylesheet" dialog box doesn't offer a place to 
> enter a title; it has to be done by hand.
> 
> Maybe:
> (1) the dialog box should offer a field for a CSS title, and possibly
> (2) if one isn't given, the CSS Alternatives pull-down should fall back 
> to the stylesheet href?
> 
> What do you think?
> 
> Cheers,
> Wendell



More information about the oXygen-user mailing list