Haven't tabled yet

New today: css includes "table[attributes style] { . . . }"
Is that vB code syntax? What's the difference between an attribute and a style? Let's find out!

width:90%, class: outer_border
[TABLE="class: outer_border, width: 90%"]
[TR]
[TD]wrods[/TD]
[TD]words[/TD]
[TD]sequipedalian[/TD]
[/TR]
[TR]
[TD]wrods[/TD]
[TD]words[/TD]
[TD]sequipedalian[/TD]
[/TR]
[/TABLE]

outer, 60%
[TABLE="class: outer_border"]
[TR]
[TD]wrods[/TD]
[TD]words[/TD]
[TD]sequipedalian[/TD]
[/TR]
[TR]
[TD]wrods[/TD]
[TD]words[/TD]
[TD]sequipedalian[/TD]
[/TR]
[/TABLE]
There you go, children, putting width last is ignored. ONLY with outer_border and grid. Because you call it, therefore [attributes style], before the two vB classes.
Note table[attributes style] reads align: right as "float: right;"

" class: grid align: center, width: 60%, align:right"
[TABLE="width: 60%, align: right"]
[TR]
[TD]wrods[/TD]
[TD]words[/TD]
[TD]sequipedalian[/TD]
[/TR]
[TR]
[TD]wrods[/TD]
[TD]words[/TD]
[TD]sequipedalian[/TD]
[/TR]
[/TABLE]
BUT NO! Now it recognizes width, and the proper-punctuated align
INTERESTING: left out comma cause it's not mentioned in CSS. It should read "class:cms_table_grid_align_center" which would revert to .restore td and put a 1px black collapsed border on everything, but instead reverts to html old-school table (no borders).

"width: 60%, class: grid align: center"
[TABLE="width: 60%"]
[TR]
[TD]wrods[/TD]
[TD]words[/TD]
[TD]sequipedalian[/TD]
[/TR]
[TR]
[TD]wrods[/TD]
[TD]words[/TD]
[TD]sequipedalian[/TD]
[/TR]
[/TABLE]
same thing.

"align: right, class: grid align: center, width: 60%"
[TABLE="width: 60%, align: right"]
[TR]
[TD]wrods[/TD]
[TD]words[/TD]
[TD]sequipedalian[/TD]
[/TR]
[TR]
[TD]wrods[/TD]
[TD]words[/TD]
[TD]sequipedalian[/TD]
[/TR]
[/TABLE]
recognizes "align: right" AND "width: 60%". So order doesn't seem to matter. And it's not like the syntax is then "attribute style" like "width 60%" or anything.

[TABLE="width: 50%, align: right,"]
[TR="bgcolor: white"]
[TD=""]wrods[/TD]
[TD]words[/TD]
[TD]sequipedalian[/TD]
[/TR]
[TR]
[TD]wrods[/TD]
[TD]words[/TD]
[TD]sequipedalian[/TD]
[/TR]
[/TABLE]
 
Top