1
defwind77
Quick One: Content Module Centring vertically on page
  • 2006/1/7 6:39

  • defwind77

  • Not too shy to talk

  • Posts: 180

  • Since: 2005/11/11


Ok this should be a quick one - I've added some custom content using the, er, content module and it works fine, however it is centring horizontally.

see Here

I think it's just a bit of html needed from someone clever... any ideas - and any ideas why this module does this? It seem a bit odd as I can't imagine anyone wanting it like this?!

Thanks a lot!

2
defwind77
Re: Quick One: Content Module Centring vertically on page
  • 2006/1/7 16:26

  • defwind77

  • Not too shy to talk

  • Posts: 180

  • Since: 2005/11/11


hmm nobody know

3
Will_H
Re: Quick One: Content Module Centring vertically on page
  • 2006/1/7 16:41

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


I believe it is because you do not have a left blocks loop in place. The issue with trying to resolve this is that if you have another page which does have a lb loop then it will be messed up.

Heres a quick fix for ya.

I would first try an
Then if that looks weird the easiest way to fix this would be to use spacings to push your content over. (i.e.  ) however, who knows if you have a full table


lol heres what i originally had....

Quote:

Copy the info out of the content module and paste it into an html file. be sure that you place the file somewhere other than your root directory, as html always loads before php. Then use the content module to link to it. By doing this you will be able to pad out the content(center it).


It would no longer be wrapped in the framework this way... sorry about that.

4
defwind77
Re: Quick One: Content Module Centring vertically on page
  • 2006/1/7 19:37

  • defwind77

  • Not too shy to talk

  • Posts: 180

  • Since: 2005/11/11


hmm why would aligning it to the right fix this? Surely align to the top would solve it?

Surely spacings would just move it across, rather than up?

5
Will_H
Re: Quick One: Content Module Centring vertically on page
  • 2006/1/7 20:56

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


I'm sorry, I assumed that you wanted to center it on the screen...
Ok well you could try a or maybe its "middle"

to be honest with ya I'm not sure if you see what i see.

I see your framework, then a bunch of
then some content smacked against the left border.

Login

Who's Online

165 user(s) are online (116 user(s) are browsing Support Forums)


Members: 0


Guests: 165


more...

Donat-O-Meter

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

Latest GitHub Commits