Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

How to make a defined table through HTML

I copied-and-pasted a table from Microsoft Word into a "Text box" in my Enfold theme. The outer edges of the table are faint grey; I want them to be sharp black, so they clearly outline the fact that it is a table.

This will separate the three items within the table and make it look much better.

How do make the edges of a table a specific color (black)? What HTML do I use?

Please use this website for reference: scmjf.org The item i refer to is below "muslim-jewish ties, through"

Thank you very much.

1 Answer

Styling is done with CSS. So you can do:

<style type="text/css">
table {
   border: solid thin #000000;
}
</style>

or put it in your stylesheet