1
jonwatson
One Module Fails to Center.
  • 2005/12/14 2:42

  • jonwatson

  • Just popping in

  • Posts: 47

  • Since: 2005/11/16


My theme consists of two major parts - the header and the body. In all (except Dokuwiki) modules and pages, the body and header are both centered. However, on the Dokuwiki page, the body part is not centered.

Does any know why only one module would fail to center? It's the most recent module installed, if that makes a difference, and I'll be the first to admit that I don't understand the cache thing that XOOPS does at all...could it be that?

Oh, if you want to see:http://www.jonwatson.ca

Any help would be appreciated. It's a small, but annoying, thing.

2
davidthomas1
Re: One Module Fails to Center.

You may have to edit the Docuwiki files responsible for the display of content to center the content using

<div align=center>
</
div>

or 
<
center>
</
center>

or 
<
p align=center>
</
p>

tags
みんなちがってみんないい。

XOOPS 2.0.13.2

3
jonwatson
Re: One Module Fails to Center.
  • 2005/12/14 4:42

  • jonwatson

  • Just popping in

  • Posts: 47

  • Since: 2005/11/16


That seems odd to me because all my other modules center and I did that by adding a div centre tag (as you say) to the bottom of my header file. Therefore, anything below the header gets centered.

I'm willing to try, though, but the Dokuwiki code is the most complex I've run across yet. Any clues what file to plunk my div tag into?

Thanks!

Jon

4
davidthomas1
Re: One Module Fails to Center.

I haven't looked at the Docuwiki module myself but...

It would either be in the template files, the PHP files used to generate the page or perhaps there's a CSS file you could edit.

Even if you've set the content to center, some extra CSS etc... can override that tag from within the individual module.

Sorry I can't help more specifically.
みんなちがってみんないい。

XOOPS 2.0.13.2

5
jonwatson
Re: One Module Fails to Center.
  • 2005/12/14 13:09

  • jonwatson

  • Just popping in

  • Posts: 47

  • Since: 2005/11/16


OK, I'll take a look around. I didn't consider that it was being overridden, but that makes sense.

Thanks!

6
decalogue
Re: One Module Fails to Center.
  • 2006/3/1 12:49

  • decalogue

  • Just popping in

  • Posts: 3

  • Since: 2006/3/1 1


In an effort to merge forums/threads of the same topic, please go here where I hope someone will help solve this issue that's purely because of CSS.

[Topic locked] Bluenova
Please use this thread to continue the discussion.

Login

Who's Online

164 user(s) are online (109 user(s) are browsing Support Forums)


Members: 0


Guests: 164


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits