Centralising an item


Hi Guys,

I am trying the centralise the page title “Electrical Installation” I have tried margin: 0 auto and also text-align: center.

I can center it using margin-left attribute using px attributes, but obviously don’t want to use this.

Thanks in advance

Try this:

<style type="text/css">

  .post-title-wrapper {width:100%; text-align:center; }
  .header-post-title-class {color: #f00; background-color: #cff;}


Please note that the scriipt is a kludge and I will leave the refining and transfer to the approprate style sheet.

Thanks for this, solved the problem