# CASE: vertical and double top/bottom cell borders

**URL:** <https://community.silverfin.com/t/case-vertical-and-double-top-bottom-cell-borders/1554>\
**Category:** Cases\
**Tags:** borders\
**Created:** [August 27, 2019, 3:51pm UTC](https://community.silverfin.com/t/case-vertical-and-double-top-bottom-cell-borders/1554 "2019-08-27T15:51:16Z")\
**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 27, 2019, 3:51pm UTC](https://community.silverfin.com/t/case-vertical-and-double-top-bottom-cell-borders/1554/1 "2019-08-27T15:51:16Z")

</div>

You can now use vertical and double top / bottom cell borders within a table, with the use of this code:

```auto
{% comment %}easy example{% endcomment %}
|_ single bottom _|
| __double bottom__ |

<br>

|^ single top ^|
|^^ double top ^^|

<br>

|] left |
| right [|

<br>

|]^_ fully bordered _^[|
|]^^ __same plus doubled top/bottom__ ^^[|

```

So you can create something like this now:

 ![12](https://canada1.discourse-cdn.com/flex030/uploads/getsilverfin/original/2X/8/8e61bb1c08e274fed71ef4f349c9fba0bdc78982.png)

Source code of above example:

```auto
{% comment %}practical example{% endcomment %}

{% stripnewlines %}
|----50%----
|----20%----:
|----05%----
|----20%----:
|----05%----+
{% newline %}
| 
|_ {{ period.year_end_date | date:"%Y" }} _
|_ _
|_ {{ period.minus_1y.year_end_date | date:"%Y" }} _
|_ _
{% newline %}
| {% t "Regular costs" %}
| {% =$0+ #61 | currency %}
|
|] {% =$1+ #61:1y | currency %}
|
{% newline %}
| {% t "Other costs" %}
| {% =$0+ #62__64 | currency %}
|
|] {% =$1+ #62__64:1y | currency %}
|
{% newline %}
|
|_ _
|_ _
|]_ _
|_ _
{% newline %}
|
| __{{ $0 | currency }}__
| ____
|] __{{ $1 | currency }}__
| ____
{% endstripnewlines %}

```

Obviously, some better tables can be built out of this 😏
