Tag <center> does not work

This is the place to discuss Help & Manual 4 issues. Please don't post questions on any other versions here!

Moderators: Alexander Halser, Tim Green

Post Reply
Martin Mrskos
Posts: 15
Joined: Mon Aug 07, 2006 9:47 am

Tag <center> does not work

Unread post by Martin Mrskos »

Hi Tim,

when I insert "Plain HTML Code" at Page Editor (HM4) and using "Load Snippet" to add .htm code I face to the following problem:

Although my htm code shows
htm_code.jpg
that headlines should be centered (and they really are when checked in Firefox) after compilation in CHM they are not. It looks as if this command is ignored.
Why?
Would you be so kind and help me to sort this problem out, please?

Thanking you in advance for your reply.

Martin
You do not have the required permissions to view the files attached to this post.
User avatar
Tim Green
Site Admin
Posts: 23156
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Tag <center> does not work

Unread post by Tim Green »

Hi Martin,

The attribute align="center" does not apply to paragraphs, it is really only for table cells. Use style="text-align: center;" instead. That should work.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Martin Mrskos
Posts: 15
Joined: Mon Aug 07, 2006 9:47 am

Re: Tag <center> does not work

Unread post by Martin Mrskos »

Hi Tim,

many thanks - it really works!
:)

Martin
Post Reply