http://trac.tiddlywiki.org/changeset/12264

FND
2010-07-09 23:59:56 -0700 (Fri, 09 Jul 2010)
211
fixed bug in twFile demo

As reported by wonsungi, IE does not like text nodes on BR elements.
Using a BR seems wrong in the first place, so using CSS instead.
(CSS inlined because to match the surrounding code)

---------------

U   Trunk/core/jquery/plugins/doc/twFileDemo.html

---------------

Modified: Trunk/core/jquery/plugins/doc/twFileDemo.html
===================================================================
--- Trunk/core/jquery/plugins/doc/twFileDemo.html       2010-07-09 13:20:08 UTC 
(rev 12263)
+++ Trunk/core/jquery/plugins/doc/twFileDemo.html       2010-07-10 06:59:56 UTC 
(rev 12264)
@@ -394,8 +394,9 @@
                                // If the file loads succesfully create an 
editing element
                                if(text){
                                        // Create a textarea
-                                       var textarea = 
$("<textarea></textarea><br>").css({
-                                               marginTop: "8px",
+                                       var textarea = 
$("<textarea></textarea>").css({
+                                               margin: "8px auto 0",
+                                               display: "block",
                                                width: "90%",
                                                height: "90%"
                                        }).text(text);

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywikidev?hl=en.

Reply via email to