Table Formatting (Textile)

drew_campbell
drew_campbell
edited October 2014 in Campaign Portal Building
I had been creating full HTML tables and only recently "got" textile - It's certainly cleaner, and I'm trying to convert my tables...

I'm running into problems using multiple attributes, however.

table{border:1px solid black}.
{background:#480607;color:#ffffff}. |*BRAWN*|*AGILITY*|*INTELLECT*|*CUNNING*|*WILLPOWER*|*PRESENCE*|

This -should- show white text on a maroon background (and does on http://txstyle.org/doc/15/tables). However on OP it's only reading the first attribute and not changing the color of the text (or if I reverse it, not changing the background).

Am I doing something wrong or is this a limit within OP itself?

Thanks,
-Drew

Comments

  • cgregory
    cgregory
    Posts: 780 edited October 2014
    Hi drew,

    If I remember correctly the reason for this is that OP has tables, rows, cells all defined with colors so the cell color definition is overriding your row color definition.

    What I usually do is use a class name for my textile table

    so for example a textile table with the class of carl (because let's admit it, he is a classy guy! :) )

    (carl). |*BRAWN*|*AGILITY*|*INTELLECT*|*CUNNING*|*WILLPOWER*|*PRESENCE*|

    then let's give carl some style in our custom css

    .carl td {background-color: green !important; color: red !important;}

    red and green for that xmas feel

    Carl

    Pathfinder Campaign "Devils and Dilettantes":https://devils-and-dilettantes.obsidianportal.com/
    Shadowrun Campaign (in the works) "Deus Ex Machina":https://deusex.obsidianportal.com/
    Post edited by cgregory on

    They are among us!

    image

                       XCom: Defiance - Campaign of the Month November 2016

     

     

  • twiggyleaf
    twiggyleaf
    Posts: 2,013
    ...and WOW! is how DEUS EX MACHINA is looking, Dude!

    twigs

    "I met a traveller from an antique land....."

    CotM May 2016: Mysteria: set in Wolfgang Baur’s MIDGARD.

    Previous CotM Aug 2012: Shimring: High Level Multiplanar Campaign

    Inner Council Member

  • cgregory
    cgregory
    Posts: 780
    Thanks twig.

    Got custom cursors on both Deus Ex Machina (more futuristic cursor) and Devils and Dilettantes (various pentagram cursors, all the better to keep the devils from possessing you!)

    They are among us!

    image

                       XCom: Defiance - Campaign of the Month November 2016

     

     

  • GamingMegaverse
    GamingMegaverse
    Posts: 3,001
    Looks great- please share the custom cursors code!!
    killervp
    "A God...Rebuilt":https://a-god-rebuilt.obsidianportal.com
    "OP's COTM April 2012":http://blog.obsidianportal.com/a-god-rebuilt-aprils-cotm/
    Over 300 Fans, and Looking for More!

    Just trying to help out.

  • cgregory
    cgregory
    Posts: 780
    Will do. I'll create a thread dealing with it because it will be useful to list sites with custom cursors.

    They are among us!

    image

                       XCom: Defiance - Campaign of the Month November 2016

     

     

Sign In or Register to comment.

May 2024
The World of Elurah

Read the feature post on the blog
Return to Obsidian Portal

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Discussions