TiddlyWiki/XDev CSS

2 views
Skip to first unread message

hcri...@gmail.com

unread,
Nov 14, 2005, 11:31:17 AM11/14/05
to TiddlyWiki
Thought you should know..
I found 2 errors in your StyleSheet Tiddler

the line:
.popup li a:hover { background-color: #ffff; color: #ff7f00;}
has 4 - f's and should have either 3 or 6

line:
.viewer pre, .viewer code {color: #330; background-color: #FFC}
is missing a semi-colon after the last statement.

Jeremy Ruston

unread,
Nov 14, 2005, 11:46:58 AM11/14/05
to Tiddl...@googlegroups.com
That's great, thanks very much for pointing those out. I'll fix them
for the next update.

Cheers

Jeremy.
--
Jeremy Ruston
mailto:jer...@osmosoft.com
http://www.tiddlywiki.com

Jonathan Ploudre

unread,
Nov 15, 2005, 10:39:23 AM11/15/05
to TiddlyWiki
For what it's worth, the semicolons are needed between elements. So
leaving off the last semicolon is not an error. But it is bad style --
if you decide to add another element, you would likely do it at the end
of the declaration and then you would need the semicolon. Some online
css compactors will remove the trailing semicolons (as well as almost
all the whitespace except between the element definitions. So in your
case, ".viewer pre" is necessary whitespace but "color: #330;" is not.

Jonathan

Clint Checketts

unread,
Nov 15, 2005, 10:48:57 AM11/15/05
to Tiddl...@googlegroups.com
Thanks for catching those errors. I love how with open source stuff people can check each others work. I really appreciate it.

-Clint

bertrand Gugger

unread,
Nov 15, 2005, 2:33:52 PM11/15/05
to Tiddl...@googlegroups.com
Bonsoir,
Clint Checketts wrote:

>Thanks for catching those errors. I love how with open source stuff people
>can check each others work. I really appreciate it.
>
Lovely how you say open, Clint, Jeremy and you all.
Coming from some other worlds I can really "appreciate" too.
I still try to get it right :)
à+
--
toggg
Reply all
Reply to author
Forward
0 new messages