1
Rouve
center the site
  • 2008/8/10 18:27

  • Rouve

  • Just popping in

  • Posts: 5

  • Since: 2008/8/10


Hi all,

It's my first site with XOOPS and i'm looking for help,
I use V: xoops_2.0.18.fr,theme :zetagenesis
I try to center the site but i can't in my style.css
html {
    
margin-top:    4px auto
    
paddingauto;
    
width:     90% !important;
    
overflowauto;
}


body {
    
margin-top:                        4px auto;
    
background-color:                #000;
    
padding:                        20px;
    
color:                            #999;
    
font-family:                    "Lucida Grande"Verdanasans-serif;
    
font-size:                        10pt;
}


thanks a lot for your help

2
Bleekk
Re: center the site
  • 2008/8/11 0:09

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


try to ad this:
margin-left:auto;
margin-right:auto;

3
Rouve
Re: center the site
  • 2008/8/11 22:05

  • Rouve

  • Just popping in

  • Posts: 5

  • Since: 2008/8/10


Hi,
nothing change it's same thing
http://bladstory.freewebhosting360.com/boost/

, if u have any idea :pint

thanks

4
ghia
Re: center the site
  • 2008/8/11 22:35

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Your forum block has an id as xo-page-toprightblocks. Should it not be a top center block?

5
Rouve
Re: center the site
  • 2008/8/11 22:54

  • Rouve

  • Just popping in

  • Posts: 5

  • Since: 2008/8/10


sorry ghia_ but i don't have any idea, i was wondering if there's code or value to change so i can get the site in center

6
Bleekk
Re: center the site
  • 2008/8/11 23:04

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


your site is centered!
only your block is on the right side!
maybe you have a top-right block and not a center-top block. look in the block administration and change this.

7
Rouve
Re: center the site
  • 2008/8/12 22:01

  • Rouve

  • Just popping in

  • Posts: 5

  • Since: 2008/8/10


in the block administration, some block are in left and others in the right, but i don't want to change the side for user menu or search

8
ghia
Re: center the site
  • 2008/8/12 23:40

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Quote:
in the block administration, some block are in left and others in the right, but i don't want to change the side for user menu or search
These are the system blocks and OK. You have to look to the forum (CBB) blocks. It's the 'Nouveaux posts' block you want to position.

9
kris_fr
Re: center the site
  • 2008/8/13 7:03

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31


hi,

html 
    
margin:    4px auto;  
    
paddingauto
    
width:     90% !important
    
overflowauto



body 
    
margin:     4px auto
    
background-color:   #000; 
    
padding:       20px
    
color:         #999; 
    
font-family:    "Lucida Grande"Verdanasans-serif
    
font-size:  10pt
}

10
Rouve
Re: center the site
  • 2008/8/13 22:39

  • Rouve

  • Just popping in

  • Posts: 5

  • Since: 2008/8/10


Quote:
These are the system blocks and OK. You have to look to the forum (CBB) blocks. It's the 'Nouveaux posts' block you want to position.


I want to center all the site not 'Nouveaux posts' i use ie7 and my site web is in the left side i don't see how the 'Nouveaux posts' block can change position of the site

Login

Who's Online

361 user(s) are online (295 user(s) are browsing Support Forums)


Members: 0


Guests: 361


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