even more, dirtier secrets

Here's some words in caps.


[TABLE="class: outer_border, width: 500"]
[TR]
[TH="bgcolor: #EAECF0"]Site[/TH]
[TH="bgcolor: #EAECF0"]Ki (nM)[/TH]
[TH="bgcolor: #EAECF0"]Action[/TH]
[TH="bgcolor: #EAECF0"]Species[/TH]
[TH="bgcolor: #EAECF0"]Ref[/TH]
[/TR]
[TR]
[TD="align: center"]MOR[/TD]
[TD="align: center"]0.21?1.5
0.081[/TD]
[TD="align: center"]Partial agonist[/TD]
[TD="align: center"]Human
Monkey[/TD]
[TD="align: center"][20][21][22]
[23][/TD]
[/TR]
[TR]
[TD="align: center"]DOR[/TD]
[TD="align: center"]2.9?6.1
0.82[/TD]
[TD="align: center"]Antagonist[/TD]
[TD="align: center"]Human
Monkey[/TD]
[TD="align: center"][20][22][24]
[23][/TD]
[/TR]
[TR]
[TD="align: center"]KOR[/TD]
[TD="align: center"]0.62?2.5
0.44[/TD]
[TD="align: center"]Antagonist[/TD]
[TD="align: center"]Human
Monkey[/TD]
[TD="align: center"][20][22][24]
[23][/TD]
[/TR]
[TR]
[TD="align: center"]NOP[/TD]
[TD="align: center"]77.4[/TD]
[TD="align: center"]Partial agonist[/TD]
[TD="align: center"]Human[/TD]
[TD="align: center"][21][22][24][/TD]
[/TR]
[TR]
[TD="align: center"]σ1[/TD]
[TD="align: center"]ND[/TD]
[TD="align: center"]ND[/TD]
[TD="align: center"]ND[/TD]
[TD="align: center"]ND[/TD]
[/TR]
[TR]
[TD="align: center"]σ2[/TD]
[TD="align: center"]ND[/TD]
[TD="align: center"]ND[/TD]
[TD="align: center"]ND[/TD]
[TD="align: center"]ND[/TD]
[/TR]
[TR]
[TD="align: center"]NMDA[/TD]
[TD="align: center"]ND[/TD]
[TD="align: center"]ND[/TD]
[TD="align: center"]ND[/TD]
[TD="align: center"]ND[/TD]
[/TR]
[TR]
[TD="align: center"]TLR4[/TD]
[TD="align: center"]>10,000[/TD]
[TD="align: center"]Agonist[/TD]
[TD="align: center"]Human[/TD]
[TD="align: center"][25][/TD]
[/TR]
[TR]
[TD="align: center"]SERT[/TD]
[TD="align: center"]>100,000[/TD]
[TD="align: center"]ND[/TD]
[TD="align: center"]Rat[/TD]
[TD="align: center"][26][/TD]
[/TR]
[TR]
[TD="align: center"]NET[/TD]
[TD="align: center"]>100,000[/TD]
[TD="align: center"]ND[/TD]
[TD="align: center"]Rat[/TD]
[TD="align: center"][26][/TD]
[/TR]
[TR]
[TD="align: center"]DAT[/TD]
[TD="align: center"]ND[/TD]
[TD="align: center"]ND[/TD]
[TD="align: center"]ND[/TD]
[TD="align: center"]ND[/TD]
[/TR]
[TR]
[TD="align: center"]VGSC[/TD]
[TD="align: center"]33,000 (IC50)[/TD]
[TD="align: center"]Inhibitor[/TD]
[TD="align: center"]Rodent[/TD]
[TD="align: center"][27][/TD]
[/TR]
[TR="class: sortbottom"]
[TD="colspan: 5, align: center"]Values are Ki (nM), unless otherwise noted. The smaller
the value, the more strongly the drug binds to the site.[/TD]
[/TR]
[/TABLE]

NB! The bottom row there is colspan syntax: <TD="colspan: 5, align: center">
The vB Code also hasn't erased the row for that: <TR="class: sortbottom">
OK, in html it becomes "class=tr.cms_table_sortbottom.cms_table_outer_border.tr" which obv. is not a real class, but table row was never restored, no ".restore tr"
Just tr[Attributes Style] {vertical-align: top;} which is really annoying, that top align.
and tr {display: table-row} with inherited border-color. Don't get the user agent stylesheet yet.

note td[attributes style] {text-align: -webkit-center;}
td, th {display: table-cell; vertical-align: inherit} So the table header inherits the center valign, but table-row gets top?

The example below specifies the background color and text color of <th> elements:
[TABLE="class: thick outer border, width: 908"]
[TR="bgcolor: #4CAF50"]
[TH="align: left"]First Name[/TH]
[TH="align: left"]Last Name[/TH]
[TH="align: left"]Savings[/TH]
[/TR]
[TR="bgcolor: #F2F2F2"]
[TD]Peter[/TD]
[TD]Griffin[/TD]
[TD]$100[/TD]
[/TR]
[TR]
[TD]Lois[/TD]
[TD]Griffin[/TD]
[TD]$150[/TD]
[/TR]
[TR="bgcolor: #F2F2F2"]
[TD]Joe[/TD]
[TD]Swanson[/TD]
[TD]$300[/TD]
[/TR]
[/TABLE]

Still displays with borders when published, still maintains all other formating.

Trying without the "advanced editor

[TABLE="class: table, width: 944"]
[TR]
[TH]Drug[/TH]
[TH]Dose[/TH]
[TH]Euphoria[/TH]
[/TR]
[TR="bgcolor: #DDDDDD"]
[TD]Fluorodozepam[/TD]
[TD]benzobuddy[/TD]
[TD]hootenanny[/TD]
[/TR]
[TR]
[TD]dihydromorphinone HBr[/TD]
[TD]Super Tingly[/TD]
[TD]online[/TD]
[/TR]
[TR="bgcolor: #DDDDDD"]
[TD]threo-cepio[/TD]
[TD]Roland[/TD]
[TD]that was meh[/TD]
[/TR]
[TR]
[TD]Strontium 90[/TD]
[TD]It's in your bones[/TD]
[TD]UK[/TD]
[/TR]
[TR="bgcolor: #DDDDDD"]
[TD]sodium dodecylsulfate[/TD]
[TD]crashes out at like 18C[/TD]
[TD]Canada[/TD]
[/TR]
[TR]
[TD]Marinara sauce[/TD]
[TD]Penne v. Ziti[/TD]
[TD]Italy[/TD]
[/TR]
[/TABLE]

This one displays grid for title row only.

Try it Yourself ?

Defining an HTML Table

Trying without the "advanced editor"

Last experiment on this post:


[TABLE="class: outer_border, width: 944"]
[TR]
[TH="bgcolor: #8b008b"]title header[/TH]
[TH="bgcolor: #8b008b"]category two[/TH]
[TH="bgcolor: #8b008b"]auto-grid around header[/TH]
[/TR]
[TR]
[TH="align: center"]Drug[/TH]
[TH="align: center"]Dose[/TH]
[TH="align: center"]Euphoria[/TH]
[/TR]
[TR="bgcolor: #DDDDDD"]
[TD]Fluorodozepam[/TD]
[TD]benzobuddy[/TD]
[TD]hootenanny[/TD]
[/TR]
[TR]
[TH]dihydromorphinone HBr[/TH]
[TH]Super Tingly[/TH]
[TH]online[/TH]
[/TR]
[TR="bgcolor: #DDDDDD"]
[TD]threo-cepio[/TD]
[TD]Roland[/TD]
[TD]that was meh[/TD]
[/TR]
[TR]
[TD]Strontium 90[/TD]
[TD]It's in your bones[/TD]
[TD]UK[/TD]
[/TR]
[TR="bgcolor: #DDDDDD"]
[TD]sodium dodecylsulfate[/TD]
[TD]crashes out at like 18C[/TD]
[TD]Canada[/TD]
[/TR]
[TR]
[TH]Marinara sauce[/TH]
[TH]Penne v. Ziti[/TH]
[TH]Italy[/TH]
[/TR]
[/TABLE]




[TABLE="width: 90%, align: right"]
[TR="bgcolor: blue"]
[TD]
Here's something interesting: "Yquote" is rendered as a table, width="90%" cellspacing="5" cellpadding="5"
a single cell, td style="border: 1px dashed; border-color:#0d1e3e; background:#f8f8ff;" then <normalfont> only entry is a <br>.
[/TD]
[TD].[/TD]
[/TR]
[TR="bgcolor: white"]
[TD]
.
.
.
.

It looks like element.style is the final word, problem is its controlled by vB. user agent stylesheet is close to final, but vB always inserts .restore th, .restore td after that.
[/TD]
[TD][TABLE="class: outer_border"]
[TR="bgcolor: blanchedalmond"]
[TD],
.
.
.
.
.
extra
words
go
here.[/TD]
[TD].restore table: bottom margin to 1em; font-size: inherit; border-collapsed, spacing 0;
tbody {valign: middle; border-color: inherit;}
tr is the only one not restored, but that's cause td ruins it.
.restore th: {font-weight: bold; text-align: center, border: 1px solid black; padding: 0.5em; font-style: inherit; margin:0; valign: inherit}
.restore td: {border: 1px solid black; padding: 0.5em; margin: 0; valign: inherit;}
[/TD]
[/TR]
[/TABLE]
[/TD]
[/TR]
[TR="bgcolor: blue"]
[TD="colspan: 2"]
But anything you can convince vB to render as "style" should work.

SO: WTF are the accepted values/syntax for "style" in vB code? Eg., ="bgcolor: value" is rendered as style="background-color: value"; what are the allowed conversions? Straight CSS style syntax doesn't work.
[/TD]
[/TR]
[/TABLE]
 
Top