11
waleedpak
Re: Limit xoops template width to 800 px..
  • 2008/10/11 9:46

  • waleedpak

  • Just popping in

  • Posts: 45

  • Since: 2007/11/25


using text-align:center the text on my page aligns in the center of their respective blocks... but my site is still aligned at the left side of the screen..

can anyone please give me the exact wrapper code to be put in the css file and then the code to be put in the theme file (with it's details).. I'll try this method again, maybe then my problem would be solved

12
kris_fr
Re: Limit xoops template width to 800 px..
  • 2008/10/11 11:41

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31


hi,

in style sheet css :

html {    margin:0 auto;
    
width:800px;}


@++

13
waleedpak
Re: Limit xoops template width to 800 px..
  • 2008/10/12 2:55

  • waleedpak

  • Just popping in

  • Posts: 45

  • Since: 2007/11/25


yess... this was the million dollar trick
thanx alot kris_fr
i just added this code on my css file
html {    margin:0 auto;
    
width:800px;}


and i got what i need
never knew it was that simple
tanx again

14
waleedpak
Re: Limit xoops template width to 800 px..
  • 2008/10/16 13:45

  • waleedpak

  • Just popping in

  • Posts: 45

  • Since: 2007/11/25


does it work in IE7,,
i have IE8 at home, it doesn't work there,
the page is still aligned at the left side..

however, it works fine in mozilla and opera

15
kris_fr
Re: Limit xoops template width to 800 px..
  • 2008/10/17 20:28

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31


htmlbody {    margin:0 auto
    
width:800px;}


@++

Login

Who's Online

293 user(s) are online (181 user(s) are browsing Support Forums)


Members: 0


Guests: 293


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