New Question- With Ipb 2.0.4

Discussion in 'Gaming' started by XMasterX, Dec 21, 2005.

  1. XMasterX

    XMasterX Well-Known Member

    Age:
    38
    Posts:
    5,336
    Likes Received:
    0
    Joined:
    Aug 1, 2005
    Location:
    Wisconsin, USA
    how do you change your board from centered to left aligned? I used to know this...
     
  2. XMasterX

    XMasterX Well-Known Member

    Age:
    38
    Posts:
    5,336
    Likes Received:
    0
    Joined:
    Aug 1, 2005
    Location:
    Wisconsin, USA
    bump from when i asked my other question, some ppl looked at it...
     
  3. JeremyM

    JeremyM Well-Known Member

    Age:
    35
    Posts:
    554
    Likes Received:
    0
    Joined:
    Oct 10, 2005
    The entire board? Probably on the index file...
     
  4. XMasterX

    XMasterX Well-Known Member

    Age:
    38
    Posts:
    5,336
    Likes Received:
    0
    Joined:
    Aug 1, 2005
    Location:
    Wisconsin, USA
    right.... like where.... I'm not looking at all the stuff thats in the index.

    Would that be the wrapper maybe?
     
  5. CodedFX.com

    CodedFX.com Active Member

    Posts:
    32
    Likes Received:
    0
    Joined:
    Aug 23, 2005
    I don't know why you'd want to do this :blink: Centered is much better than left aligned, but it can be done in the Board wrapper by simply using a div.
     
  6. JeremyM

    JeremyM Well-Known Member

    Age:
    35
    Posts:
    554
    Likes Received:
    0
    Joined:
    Oct 10, 2005
    Yeah like what coded said use a div in your board wrappers.

    At the top just put:

    <div align="left">

    At the bottom put:

    </div>
     
  7. XMasterX

    XMasterX Well-Known Member

    Age:
    38
    Posts:
    5,336
    Likes Received:
    0
    Joined:
    Aug 1, 2005
    Location:
    Wisconsin, USA
    it just looks better, no wasted space... especially on a 1024x768 screen.

    where do you do this, in the acp? I know most of IPB, but not all
     
  8. Equivalent Exchange

    Equivalent Exchange Well-Known Member

    Posts:
    1,466
    Likes Received:
    0
    Joined:
    Nov 9, 2005
    I got a better way to do it. Go to your ACP > Skins and Templates > Skin Manager > click the skin you want to change > click edit stylesheet (CSS advanced)

    in the big text box that comes up, located near the beggining locate:

    Code:
    body{ 
    a little bit under that should be something like

    Code:
    	text-align: center; 
    change "center" to "left" and hit save. If that doesnt work, you could just go with the wrapper way, which is...

    ACP > Skins and Templates > Skin Manager > click the skin you want to change > Edit root skin forum and header wrapper


    find

    Code:
    <body>
    and add under it

    Code:
     <div align="left">
    then find

    Code:
    </body>
    put right above that

    Code:
    </div>
    and if you cant find "</body>" just stick the "</div>" at the end.

    Click okay and voila
     
  9. XMasterX

    XMasterX Well-Known Member

    Age:
    38
    Posts:
    5,336
    Likes Received:
    0
    Joined:
    Aug 1, 2005
    Location:
    Wisconsin, USA
    doesnt work.... i did both...
     
  10. Otaku23

    Otaku23 Well-Known Member

    Posts:
    1,115
    Likes Received:
    0
    Joined:
    Jul 3, 2005
    Location:
    canada
    Open boards.php and add the <div align="left"> code under <body>
     
  11. Equivalent Exchange

    Equivalent Exchange Well-Known Member

    Posts:
    1,466
    Likes Received:
    0
    Joined:
    Nov 9, 2005
    paste your board wrapper and the "body {" css entry (from body { to the next }
     
  12. XMasterX

    XMasterX Well-Known Member

    Age:
    38
    Posts:
    5,336
    Likes Received:
    0
    Joined:
    Aug 1, 2005
    Location:
    Wisconsin, USA
    Code:
    body{ 
    	background: #232D35 url(<#IMG_DIR#>/back.gif);
    	color: #CCCCCC;
    	font-family: Verdana, Tahoma, Arial, Trebuchet MS, Sans-Serif, Georgia, Courier, Times New Roman, Serif;
    	font-size: 10px;
    	line-height: 135%;
    	margin: 0;
    	padding: 0; /* required for Opera to have 0 margin */
    	text-align: center; /* centers board in MSIE */
    }
    
     
  13. Equivalent Exchange

    Equivalent Exchange Well-Known Member

    Posts:
    1,466
    Likes Received:
    0
    Joined:
    Nov 9, 2005
    you tried changing it to

    Code:
    body{ 
    	background: #232D35 url(<#IMG_DIR#>/back.gif);
    	color: #CCCCCC;
    	font-family: Verdana, Tahoma, Arial, Trebuchet MS, Sans-Serif, Georgia, Courier, Times New Roman, Serif;
    	font-size: 10px;
    	line-height: 135%;
    	margin: 0;
    	padding: 0; /* required for Opera to have 0 margin */
    	text-align: left; /* centers board in MSIE */
    }
    
    right?
     
  14. XMasterX

    XMasterX Well-Known Member

    Age:
    38
    Posts:
    5,336
    Likes Received:
    0
    Joined:
    Aug 1, 2005
    Location:
    Wisconsin, USA
    that does not align the board left...
     
  15. Equivalent Exchange

    Equivalent Exchange Well-Known Member

    Posts:
    1,466
    Likes Received:
    0
    Joined:
    Nov 9, 2005
    arg....

    How about your wrapper?
     

Share This Page