Jump to content

How to make tables


Mestiv

Recommended Posts

Making a table on the new version of the 17th Shard is possible, but not convenient. Without knowledge of HTML you won't make it, and being familiar with CSS can be helpful.

First of all, you need to start a new post, and start writing. The new version of text editor doesn't use BBCode, but editable HTML elements. You can use the editor button to apply tags like <strong> or <em> to your text. When you press enter, you begin to edit a new <p> tag. Then, when you submit the post, the HTML code of your message is sent and saved*. The fact that we now write in HTML allows us to create a table. Unfortunately, there are no tools in current editor to do it easily, you'll need to dig into editing the code by hand.

Now that you're in the editor, you should use the tools provided by your browser to edit the HTML code of you new message. In Chrome this can be done by right-clicking on the text and choosing "Inspect" (or something like that, I use Polish and I'm not sure which word they use in English Chrome). In Firefox there is something similar and I bet IE has it's own developers toolbox too. Once you open the editor, it should look like this for Chrome:

Spoiler

screen1.png

 

Now just use the tools provided by the browser to edit the HTML code you see. The results should be similar to what you see on image below.

Cell 1,1 Cell 2,1
Merged cells
Bottom cell left Bottom cell right
Spoiler

screen2.png

And that's all there is to it. You use style attribute of table cells to format the size, borders and text alignment.

* The HTML code that you send to the server is analyzed by it and stripped from unallowed elements and style declarations. This is done for security reasons, so unfortunately, no CSS animations or shadows in our posts for now :(

Link to comment
Share on other sites

It is more complex for you to hack it in than it could be because there is HTML source viewer/editor, but I had to disable it because letting members apply totally arbitrary HTML is unwise. Sorry!

Link to comment
Share on other sites

5 hours ago, Chaos said:

There is HTML source viewer/editor, but I had to disable it because letting members apply totally arbitrary HTML is VERY SCARY.

Fixed that.  Unrestricted access to HTML in a website is not just unwise, it is scary.

Edited by Magestar
Link to comment
Share on other sites

Just now, Magestar said:

Fixed that.  Unrestricted axcess to HTML in a website is not just unwise, it is scary.

True that :) Thanks for understanding everyone, I know it is a bit annoying compared to the old site.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...