HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Cell borders in table

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#109791 (In Topic #21736)
Avatar

Fan in training

If I add a table using the WYSIWYG editor,  is it possible to add cell borders?  The table properties border just adds a border round the entire table but I can't see a similar entry under cell properties.

I realise I can go fiddling with CSS but I was wondering if there was a simpler way
Back to the top
 
Posted
Item has a rating of 5 (Liked by Chris Graham)  
Rating:
#110480
Avatar

Community saint

Look in global.css

Code

td, th.de_th {
   color: {$GET,slightly_seeded_text};
   font-weight: normal;
   text-align: {!en_left};
   font-weight: normal;
   border: 1px solid #ccc;

The border line is usually set to 0px. Changing it will give you borders around each cell and is the simplest method I know of. The one thing I don't like about it though is the way the borders look - it leaves white space between each cell giving a frame look for each cell when I want a regular table look. I've yet to find a cure for that…

Legends of Nor'Ova: A site powered by ocPortal; home of the Legends of Nor'Ova tabletop RPG wiki and community.

Like ocPortal? Want to thank Chris and gang somehow? Then help out in the chat room! It really needs your help! Just open it in a tab everytime you open your web browser, and when you hear a "ding", check it out!

"Those who want help should first be willing to give help."
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: