Tim Dawson wrote:

I have a three-column (fixed width) layout which requires a heading in
each column.

A URL would help... but...

I am trying to
centre each heading using 'margin: 0 auto 0;', but can't make it work
unless I set a specific width on the heading.

... if you are trying to center just the _texts_ of the headings, you could simply set text-align: center.

If you wish to center a box with a background and/or border , with the width of the heading text plus some padding, then it's a different problem. But then it depends on the method you use to create the boxes.

The pages are in an early stage of development
and not yet publicly available.

Uploading a development version just for reference is often a good idea.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to