Adding CSS border attributes to a javascript

Permalink
Hi, I recently started using concrete, and I added some html and js that I had made to my site. I generate a table in my js code using document.write(), and I can not seem to add borders. I've tried adding it in the <table> tag, I've tried using the document.getElement(etc).style.border, And i've tried using the appropriate css in the block settings. WHY CAN'T I MAKE BORDERS?

Thanks for the help.