phpBB

Development Discussion Board

phpBB's testing ground of bleeding edge code
Advanced search

Reduce width and center the page -- any simple way?

All style (template, theme and imageset) related questions for the new release; advice, feedback here please.

Re: Reduce width and center the page -- any simple way?

Postby Nicholas the Italian » Sat Sep 29, 2007 1:11 pm

Doesn't
Code: Select all
body { overflow-x: hidden }

work?
User avatar
Nicholas the Italian
Registered User
 
Posts: 659
Joined: Mon Nov 20, 2006 11:19 pm
Location: 46°8' N, 12°13' E

Re: Reduce width and center the page -- any simple way?

Postby Jackanape » Sat Sep 29, 2007 2:38 pm

Nope, there's still that whitespace pushing over the right. In fact, in my searches, I've come across this topic:

viewtopic.php?f=26&t=28596

That outlines the same issue. It's suggested at the end there may be a bugfix, but the main phpBB boards are down now, so I'll have to wait and see...

There is NOTHING more maddening that coding CSS for IE6...


NOTHING.
Jackanape
Registered User
 
Posts: 5
Joined: Sat Mar 04, 2006 3:54 pm

Re: Reduce width and center the page -- any simple way?

Postby jules_nz » Wed May 21, 2008 11:37 pm

This isnt working for me :(
I've all the different suggestions and done the refreshing, but nothing is changing

Could a portal page effect this??
jules_nz
Registered User
 
Posts: 1
Joined: Wed May 21, 2008 11:34 pm

Re: Reduce width and center the page -- any simple way?

Postby stevms » Sat Jun 07, 2008 9:39 pm

I just changed the width by using the following,

#wrap {
width: 760px;
margin: 0 auto;
}

and it centered! I was quite amazed :shock:

Looks ok in firefox and IE
stevms
Registered User
 
Posts: 1
Joined: Sat Jun 07, 2008 9:31 pm

Previous

Return to [3.0/Olympus] Styling

Who is online

Users browsing this forum: No registered users and 4 guests