Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-10-22 21:34:41

dreamer
Member
Registered: 2007-06-08
Posts: 242

[textile] How to create space b/w columns

I want to add more space b/w the columns but how do I do this? As you can see, the text in those columns are wider than the actual header itself. I want to space them far apart enough to allow give them room to “breath”, so to speak.

This is how it looks on my site right now;

|_. 1 Bedroom Layouts   |_.  2 Bedroom Layouts|
|Floorplan GA- Approx.  700 sq ft.  |Floorplan GA- Approx. 980 sq ft.  |
|Floorplan GC- Approx. 750 sq ft| Floorplan GB- Approx. 920 sq ft. |
|Floorplan GD|
|Floorplan GE|

Offline

#2 2008-10-22 21:51:04

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,599
Website

Re: [textile] How to create space b/w columns

Adding spaces in textile won’t help. Just add some padding to your th and td elements, e.g.:

#content2 table th,
#content2 table td {
	padding: 2px 10px;
	}

TXP Builders – finely-crafted code, design and txp

Offline

#3 2008-10-22 22:14:15

dreamer
Member
Registered: 2007-06-08
Posts: 242

Re: [textile] How to create space b/w columns

My concern with this is that it will affect other tabular data that I have. Is there a way to add a class to the textile tables?

Offline

#4 2008-10-22 22:22:43

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: [textile] How to create space b/w columns

Maybe this will help?


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#5 2008-10-22 22:45:12

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [textile] How to create space b/w columns

Or this?

Offline

#6 2008-10-22 23:00:05

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: [textile] How to create space b/w columns

Els wrote:

Or this?

GOOD FIND! Bookmarked!

Why doesn’t The textile help link to these?

Last edited by MattD (2008-10-22 23:03:56)


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#7 2008-10-22 23:06:04

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [textile] How to create space b/w columns

There is also this :)

Offline

#8 2008-10-23 02:15:13

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: [textile] How to create space b/w columns

I think the “official” one is this: the Textile Reference Manual, by Zem


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB