Author Topic: Adding a table  (Read 2830 times)

0 Members and 1 Guest are viewing this topic.

Offline lordax

  • Occasional poster
  • *
  • Posts: 3
    • View Profile
Adding a table
« on: November 24, 2011, 06:05:47 PM »
Hi. I'm using RAWR template and wanted to add a table to the blue template but I can't figure out how to do it. I read how to do it at w3schools but no matter how I edit the css or the tpl file I can't get the table. The idea is to add this table under the files list so I can put some messages there. Also I have little to none idea how to edit CSS ^^" I'm trying to put a table like the one here: http://www.w3schools.com/css/css_table.asp

Thanks for any help.

Offline rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12841
    • View Profile
Re: Adding a table
« Reply #1 on: November 25, 2011, 08:21:11 AM »
to add a table you have to use HTML, not CSS.

html is about content, css is about how it looks, thus AFTER you get the table :)

Try this

<table>
<tr><td> Your message
</table>

tr is for "new line", td for "new cell"
« Last Edit: November 25, 2011, 08:23:20 AM by rejetto »

Offline lordax

  • Occasional poster
  • *
  • Posts: 3
    • View Profile
Re: Adding a table
« Reply #2 on: November 25, 2011, 08:48:42 AM »
Oh. See, I'm just starting to learn ^^"
So, if I want to put the box in one of the RAWR templates, which should I have to edit? The CSS in the template folder or the tpl file?
Thanks a lot.

Offline rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12841
    • View Profile
Re: Adding a table
« Reply #3 on: November 25, 2011, 09:54:18 AM »
the tpl file.
but if you click "html template > edit" you should go directly to the right one!

Offline douglaswelbar

  • Occasional poster
  • *
  • Posts: 1
    • View Profile
Re: Adding a table
« Reply #4 on: September 15, 2014, 01:30:49 AM »
check this ....CSS Table formatting

Douglas