Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-03-01 21:30:19

darock
Member
Registered: 2007-11-23
Posts: 54

[textile] Can't seem to align text or tables.

Perhaps I’m doing something wrong, but I can’t seem to align my text nor table to be left, right, or center.

I tried something like this

= center

just before my text or on a separate line before my table and neither works.

Offline

#2 2008-03-02 04:16:37

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [textile] Can't seem to align text or tables.

p=. hi there

or

table=.
|one|two|three|

Offline

#3 2008-03-03 20:21:20

darock
Member
Registered: 2007-11-23
Posts: 54

Re: [textile] Can't seem to align text or tables.

Thanks.

Textile should probably update their directions on how to do this because I think the current directions are a bit vague.

Is it possible to center a table when I already have additional attributes for that table?

For instance, I have these attributes on a single line just before the table;

table{border:1px solid white; color: white; width:350px; margin-left: 10px; align: center}.

I can’t add = to a separate line as this nullifies the above attributes. I tried to add = to the end of the above attributes like so;

table{border:1px solid white; color: white; width:350px; margin-left: 10px; align: center}=.

but that only centers the text within the table. But doesn’t center the actual table itself.

Last edited by darock (2008-03-03 20:22:06)

Offline

#4 2008-03-03 20:31:30

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: [textile] Can't seem to align text or tables.

I don’t work with tables much but you are trying to centre the table and I note you have margin-left: 10px; in there which to my mind sets up a conflict. Try using margin-left: auto; margin-right: auto; and remove the align: center;

I’m not promising anything. ;)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

Board footer

Powered by FluxBB