Re: [tw] Re: Bug report: Tiddler CSS ID containing spaces

2010-08-02 Thread FND

While an ID gets generated for the tiddler and contains the title,
the spaces are not removed or replaced.


I'm afraid that's a known issue which can't be fixed without breaking 
backwards compatibility:

http://trac.tiddlywiki.org/ticket/472

Since spaces function as selectors in CSS, the tiddler cannot be 
accessed with CSS.


There's a workaround:
http://tiddlywiki.org/wiki/Tiddler-Specific_Styles#Using_Tiddler_IDs


This works:
div[tiddler=Title Of Tiddler Goes Here].tiddler .viewer


Unfortunately, IE6 balks at that:
http://www.webdevout.net/browser-support-css#css2selectors


-- F.

--
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.



[tw] Re: Bug report: Tiddler CSS ID containing spaces

2010-08-01 Thread Eric Shulman
 It seems to be impossible to create specific CSS rules for a tiddler
 that has spaces in the title.
 While an ID gets generated for the tiddler and contains the title, the
 spaces are not removed or replaced.
 Since spaces function as selectors in CSS, the tiddler cannot be
 accessed with CSS.

This works:

div[tiddler=Title Of Tiddler Goes Here].tiddler .viewer
   { ... }


enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to tiddlyw...@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.