1
mjz55
Cannot center graphic on main page using block
  • 2009/11/25 8:46

  • mjz55

  • Quite a regular

  • Posts: 298

  • Since: 2007/1/18


Using XOOPS 2016, at djmikez.com. I cannot get the graphic to be centered in either IE or Firefox. I must be missing something with html. Any help would and is appreciated.

2
Runeher
Re: Cannot center graphic on main page using block
  • 2009/11/25 9:39

  • Runeher

  • Module Developer

  • Posts: 825

  • Since: 2008/1/24


Xoops 2016 ? Maybe time for an upgrade?

Can you not put your graphics in a centered div?

3
ghia
Re: Cannot center graphic on main page using block
  • 2009/11/25 10:51

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Add a
width:100%;
to your table selector in /themes/4metal/style.css

4
mjz55
Re: Cannot center graphic on main page using block
  • 2009/11/27 14:03

  • mjz55

  • Quite a regular

  • Posts: 298

  • Since: 2007/1/18


ghia, do you know what line I should add that to? I'm not 100% good with html.

Yes, I know I should upgrade. Everytime I do that I crash my site and have to have the webhost re-install.

5
ghia
Re: Cannot center graphic on main page using block
  • 2009/11/27 14:28

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


line 3
table {margin5font-sizesmall}

=>
table {width100%; font-sizesmall;}
margin is not working. Correct would be margin: 5px; , but that would ruin the layout.

6
hackbrill
Re: Cannot center graphic on main page using block
  • 2009/11/28 5:50

  • hackbrill

  • Friend of XOOPS

  • Posts: 283

  • Since: 2005/7/14


If you get rid of the table format, you could center the graphic using align="absmiddle" in the center block.

Login

Who's Online

388 user(s) are online (301 user(s) are browsing Support Forums)


Members: 0


Guests: 388


more...

Donat-O-Meter

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

Latest GitHub Commits