phpbb in iframe doesn't fit

I just got phpbb the other day and have it in an iframe within a 54% wide div. How could I squish it down to make the whole thing display within the iframe properly?

Thanks
LVL 1
zoobieAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

b_locoCommented:
Using % values is always risky:
I could see the content in the iframe correctly, but I use a high resolution.

A user with a low screen resolution will have difficulties.

My advice would be:
-use a fix width (in pixels)
-change the phpbb theme accordingly
0
zoobieAuthor Commented:
I think I tried using fixed width but still wasn't able to get it to fit without horizontal scrolling. That's what needs to be gone.
I also tried just putting the src in the div which wasn't supported by the big browser and went back to the iframe.
 I've tried wrapping a whole file in a defined div but that didn't work either.
I was wondering which file(s) in the phpbb template I needed to define width-wise so it all fits in the iframe.
Thanks
0
b_locoCommented:
That depends on the theme, but I think that you just need to change the file called "overall_header.tpl", because normally that's where the "main" table start code is.

For subsilver you should change this at the beginning:

<a name="top"></a>

<table width="770" cellspacing="0" cellpadding="10" border="0" align="center">

I put 770 because that way it should work well with people at 800x600 resolution

Test it very well because it can change from page to page, and I didn't have the chance to test it.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

zoobieAuthor Commented:
I think the overall_header.tpl is just for the Photos  FAQ  Search  Members  Profile  No new messages Log out buttons that are included in every page.  
I've managed to somehow squish it down but it still won't quite fit at my resolution of 800 x 600.
Not sure if this can be done.
Thanks
0
b_locoCommented:
I had a look at the page again and if you just want to add the buttons and headers, why not edit the template and put them there, and drop the iframe?

Since we are editing templates...
0
zoobieAuthor Commented:
I'm a little slow today. You mean build the community page around the board itself?  There are so many includes due to languages, etc, that I wouldn't quite know where to start.
0
b_locoCommented:
sorry, I thought you only wanted to include the buttons and header.

What I usually do is adapt the template to the overall look of the site, but keep the site in a different place.

for example: have the board at the folder board/  change it's template to look like the main site (located for example at root) and try to make the change between one look and the other smooth by keeping some aspects the same such as the navigation menu.

Changing a template, however, requires a lot of work.

But you can go to their boards (www.phpbb.com) for tutorials on that.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
zoobieAuthor Commented:
Ok..thanks. I think it's probably the index_body.tpl that gets the treatment. I'll read up at the main site as you suggested...gotta be a way. Thanks again
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.