# CASE use top borders in a table

**URL:** <https://community.silverfin.com/t/case-use-top-borders-in-a-table/1156>\
**Category:** Cases\
**Tags:** tables, styling, tables\_markdown, use\_case\
**Created:** [August 28, 2018, 7:41am UTC](https://community.silverfin.com/t/case-use-top-borders-in-a-table/1156 "2018-08-28T07:41:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sven](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/sven/32/1495_2.png) [@sven](https://community.silverfin.com/u/sven)\
**Post date:** [August 28, 2018, 7:41am UTC](https://community.silverfin.com/t/case-use-top-borders-in-a-table/1156/1 "2018-08-28T07:41:48Z")

</div>

It is now possible to use top borders for a cell in a table, if you use this code:

```auto
|^ ^| 

```

which will result in this:  
 ![38](https://canada1.discourse-cdn.com/flex030/uploads/getsilverfin/original/1X/b444957694f29f35442805e223809a1a9ce16eb0.png)

you could have a combination of below and top borders as well:

```auto
|^_ _^| 

```

to look like this:  
 ![51](https://canada1.discourse-cdn.com/flex030/uploads/getsilverfin/original/1X/81b5b7de072170f65200426afc6c2888de0cf989.png)

Here’s an example of this particular code, where you should be aware no spaces are allowed after those pipes!

```auto
{% input custom.accounts.range as:account_collection range:61 accounts_var:accounts %}

{% stripnewlines %}
| Account
| D.
| C. 
| Value
{% for acc in accounts %}
{% if forloop.first %}
{% newline %}
|----60%----
|----15%----:
|----15%----:
|-----------:+
{% endif %}
  {% newline %}
  | {{ acc.link }}
  | {{ acc.debet_value | currency }}
  | {{ -acc.credit_value | currency }}
  | {{ acc.value | currency }}
  {% if forloop.last %}
    {% newline %}
    |
    |
    |
    |^_ {{ accounts.value | currency }} _^|
  {% endif %}
{% endfor %}
{% endstripnewlines %}

```
