• Sign in to Neowin Faster!

    Create an account on Neowin to contribute and support the site.

  • 0
Sign in to follow this  

changin width of ipb board 2.0

Question

Erik@complexgfx    0

i used to use ipb 1.3 and i used a simple html table code to change the widht but when i use it for 2.0 it doesnt work. I cannot figure out how to change the width of my board in the board wrapper, can someone help me?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head> 
<title><% TITLE %></title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> 
<% GENERATOR %> 
<% CSS %> 
<% JAVASCRIPT %> 
</head> 
<body>
<div id="ipbwrapper">
<% BOARD HEADER %>
<% MEMBER BAR %>
<% NAVIGATION %>
<!--IBF.NEWPMBOX-->
<% BOARD %>
<% BOARD FOOTER %>
<% STATS %> 
<% COPYRIGHT %>
</div>
</body> 
</html>

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0
oddcrap    0

Search the forum! I had the same problem and someone fixed it!

Share this post


Link to post
Share on other sites
  • 0
Joel    27

It's in the CSS.

#ipbwrapper

Share this post


Link to post
Share on other sites
  • 0
!smar    0

where is css located? when i edit css through admin cp skin gets messed up... extra lines, borders and stuff...

i tried editing some css files but i guess i didnt find the right one... :wacko:

Share this post


Link to post
Share on other sites
  • 0
ForumWhore    0

Admin CP > Skins and Templates > [click on skin] > Edit Root Skin Stylesheet (CSS Advanced Mode)

Search for this ....

#ipbwrapper{

margin: 20px auto 20px auto; /* centers the box, no matter the overall width, also applies a 20px gap at the top and bottom of the board */

text-align: left; /* re_aligns text to left second part of two part MSIE centering workaround */

/* EDIT THIS TO CHANGE THE WIDTH OF THE BOARD -> 750px is a common fixed resolution size */

width: 98%;

background-color: transparent;

Change the 'width' to a pixel size if you want a fixed width, (ie. width: 750px;) as is says there, 750 pixels is common, otherwise just change the percentage.

:)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.