Added to TW-Scripts On Wednesday, April 8, 2015 at 1:09:48 AM UTC+4:30, Eric Shulman wrote: > > On Tuesday, April 7, 2015 at 11:54:19 AM UTC-7, Florian Cauvin wrote: >> >> I want to create a table where only the elements are visible and with no >> decoration/border. >> Anyone can help with this? >> I tried something like the following, but it didn't really work out: >> @@border:none; >> |a|b| >> |c|d| >> @@ >> > > In addition to the table element itself, there are several nested HTML > elements that are contained within the table: th, td, tr, and tbody. Each > of these has it's own default border style. Here's a bit of CSS that > defines a classname, "borderless", that can applied to each part of the > table: > .borderless, > .borderless table, > .borderless td, > .borderless tr, > .borderless th, > .borderless tbody > { border:0 !important; } > Place the above in a tiddler tagged with "$:/tags/Stylesheet". This will > make the new CSS classname available for use. > > Then, to apply this classname to your table content, you can simply write: > @@.borderless > |a|b| > |c|d| > @@ > The resulting table will have the same layout (e.g. margins and padding) > as before, but without any visible borders. Q.E.D. > > enjoy, > -e > Eric Shulman > TiddlyTools / ELS Design Studios > > "Inside TiddlyWiki: The Missing Manual" > > https://www.indiegogo.com/projects/inside-tiddlywiki-the-missing-manual/x/8816263 > Note: the IndieGogo funding campaign has ended, > but direct fundraising continues below... > > YOUR DONATIONS ARE VERY IMPORTANT! > HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"... > http://TiddlyTools.github.com/fundraising.html#MakeADonation > > Professional TiddlyWiki Consulting Services... > Analysis, Design, and Custom Solutions: > http://www.TiddlyTools.com/#Contact >
-- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/885a0b26-c671-40e2-a7c8-f82bc949c55f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.