Help Wanted -A Manifestation of Chaos

Leonidas300
Leonidas300
edited February 2014 in Campaign Portal Building
I would like all of my content area's to center underneath the banner (which Ideally should levae space for the right side bar items. All of my tables seem to be fine with the exception of my "Devil Lords":https://metzger.obsidianportal.com/wikis/devils which I cannot seem to resize at all.

I will not be home from work until 8:00pm CST, but will add and promote after that.

Thanks,


"Leonidas300":http://www.obsidianportal.com/campaign/metzger/wikis/leonidas300
"A Manifestation of Chaos":http://www.obsidianportal.com/campaign/metzger/wikis/main-page
COTM - Sept. 2012

Comments

  • ketherian
    ketherian
    Posts: 203
    Comparing the "Devil Lords":https://metzger.obsidianportal.com/wikis/devils to the "Demon Lords":https://metzger.obsidianportal.com/wikis/demon-lords page; there is a significant difference in the width of your table's content.

    Devil Lords - 1042px wide - 10 columns
    Demon Lords - 924px wide - 9 columns

    You need to add the following to the top of the table (in html or css) and (if necessary) in every tr that you've specified a width:
    table-layout: fixed;

    This will enforce the width attribute.
    And if it doesn't - you'll see where the text runs over the column.

    Hope this helps.
    - Rebecca
    "Signs and Portends":https://swtwc.obsidianportal.com
  • Beaumains
    Beaumains
    Posts: 132
    You can constrain any textile-coded table like so:

    table{border:1px solid black;width:250px}. // where "250" can be replaced by the desired width. border not required.

    Hope this helps,
    -Beaumains
  • Leonidas300
    Leonidas300
    Posts: 273
    Thanks for the suggestions - unfortunately neither one seemed to work for the devils table.

    @Beaumains - your's worked for almost every other table, thanks
  • Basileus
    Basileus
    Posts: 585
    Might help to remove a column or merge a couple together. The easiest would be to remove the alignment column, since it contains the same value for all entries, and simply put a blanket statement somewhere that says something like "All devils are lawful evil".

    Could also combine the domain and subdomain columns into a single column.

    Either should make the table fit in the content space, I would think, and neither would meaningfully change the content itself.
  • Beaumains
    Beaumains
    Posts: 132
    @Leonidas300: I'm glad I could help! If forcing the table size isn't working for you (make sure it's within your page width, btw), you can also force column width like so:

    @|{width:5px}. entry |@

    // where "5" can be anything; note that if your column widths don't add up to your table width, everything gets screwed up. I recommend leaving at least one column width undefined for this very reason, and err on defining all of the shortest columns. If your width setting is insufficient, the table should automatically collapse to the narrowest width that will fit any particular word or character in the column.
  • Leonidas300
    Leonidas300
    Posts: 273
    I want to thank Thorvaldr for helping me find fixes for my tables and my spacing issues.

    I have been playing around with reinstating the side bar I had pre-reforge and I've got the size right but I'd like to be able to change the link color on this side bar alone (right now it's blue), I have my CSS link settings as blue to fix the dreadful yellow reforge default but I can't get these to color different.

    below is my code which is rejected in the CSS area but works fine on the main page








    REFERENCES

    * Main Page
    * Main Wiki
    * Core Rules
    * Exp. Points
    * Adv. Logs


    PEOPLE
    * Characters
    * Players
    * PRP Ledger
    * Forums
    * Comments


    PLACES
    * Game Map
    * The Lair
    * Dungeons
    * Graveyard


    ITEMS
    * Magic Items
    * Group Fund





    "Leonidas300":http://www.obsidianportal.com/campaign/metzger/wikis/leonidas300
    "A Manifestation of Chaos":http://www.obsidianportal.com/campaign/metzger/wikis/main-page
    COTM - Sept. 2012
  • Leonidas300
    Leonidas300
    Posts: 273
    never mind got it to work
Sign In or Register to comment.

March 2024
Wrath of the Highborn

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