Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-05-01 10:41:04

WildeMedia
Member
From: Hampshire
Registered: 2009-04-22
Posts: 17
Website

Center a table in an article?

I’ve added a table to one of my articles and was wondering how to center it in the page and also add some padding to the cells?

LINK to the page in question.

The table is what the graphics are sitting in.

Any help is greatly appreciated.

Offline

#2 2009-05-01 10:59:35

WildeMedia
Member
From: Hampshire
Registered: 2009-04-22
Posts: 17
Website

Re: Center a table in an article?

No worries, figured it out myself. I put a div around the table used the styling:

on .servicesTable I used:

text-align: center;

and on .servicesTable td

i used: width: 200px;

and it’s worked perfectly.

Offline

Board footer

Powered by FluxBB