# Make tables use full width, keeping readable line length

**URL:** <https://forum.obsidian.md/t/make-tables-use-full-width-keeping-readable-line-length/38879>\
**Category:** Help\
**Created:** [June 13, 2022, 10:08am UTC](https://forum.obsidian.md/t/make-tables-use-full-width-keeping-readable-line-length/38879 "2022-06-13T10:08:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![momsi](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/278dde/32.png) [@momsi](https://forum.obsidian.md/u/momsi)\
**Post date:** [June 13, 2022, 10:08am UTC](https://forum.obsidian.md/t/make-tables-use-full-width-keeping-readable-line-length/38879/1 "2022-06-13T10:08:28Z")

</div>

### Things I have tried

csv plugins  
various snippets with css

### What I’m trying to do

I do have a table for keeping track of some data. Nothing to fancy.  
I really want to use Obsidian for this, since my whole workflow is based on obsidian. I don’t want to use another program just to keep track of a simple table.  
I also like the way tables work in obsidian, the only thing that is really bad is. The readable line length option makes all text stuff nice to look at, but that makes lines too small for tables.  
My plan is, do define a custom css style for those tables, which also makes them use the full width.  
For example i really like the styles of [this here](https://forum.obsidian.md/t/custom-css-for-tables-5-new-styles-ready-to-use-in-your-notes/17084).  
I don’t really know CSS, so if somebody can tell me how I could make the “wideTable” argument in the aforementioned CSS style to use the full width, I’d be grateful.

---

<div class="post-metadata">

**Author:** ![efemkay](https://forum.obsidian.md/user_avatar/forum.obsidian.md/efemkay/32/26644_2.png) [@efemkay](https://forum.obsidian.md/u/efemkay)\
**Post date:** [June 13, 2022, 10:28pm UTC](https://forum.obsidian.md/t/make-tables-use-full-width-keeping-readable-line-length/38879/2 "2022-06-13T22:28:39Z")

</div>

You can try my snippet (link below). It has wide table option by specifying this at the top of your markdown note

```auto
---
cssClass: wide-table
---

The rest of your notes

```

> **[GitHub - efemkay/obsidian-modular-css-layout: CSS Layout hack for Obsidian.md](https://github.com/efemkay/obsidian-modular-css-layout#wide-views)**
>
> CSS Layout hack for Obsidian.md. Contribute to efemkay/obsidian-modular-css-layout development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![system](https://forum.obsidian.md/uploads/default/original/3X/b/e/bec35fbd23ab28909bb6bfe62cb32eb82dd34019.png) [@system](https://forum.obsidian.md/u/system)\
**Post date:** [June 20, 2022, 10:29pm UTC](https://forum.obsidian.md/t/make-tables-use-full-width-keeping-readable-line-length/38879/3 "2022-06-20T22:29:00Z")

</div>

Closed on June 20, 2022, 10:29pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
