If/ipb Expanding Header

Discussion in 'GR Classic Archive' started by Illusionz, Jul 25, 2007.

  1. Illusionz

    Illusionz Well-Known Member

    Age:
    36
    Posts:
    833
    Likes Received:
    0
    Joined:
    Jun 1, 2005
    Location:
    United States
    IF/IPB Expanding Header

    In this tutorial I will be teaching you how to add an expanding header to your ipb/if skin.

    This will stretch all the way from one end of your browser to the other and will expand when

    the screen gets bigger.

    First off we need to add some css styles.

    Code:
    .logotable {
    	background-image: url(images/header_02.gif);
    	background-repeat: repeat-x;
    	margin: 0px;
    	padding: 0px;
    	height: 150px;
    	width: 100%;
    }
    .logo {
    	background-image: url(images/header_01.gif);
    	background-repeat: no-repeat;
    	margin: 0px;
    	padding: 0px;
    	height: 150px;
    	width: 285px;
    }
    You need to change the image url, height and width to match your forums images. Now on top of

    your board wrappers lets add some quick html.

    Code:
    <table cellpadding='0' cellspacing='0' class='logotable'><td>
    <table border='0' cellspacing='0' cellpadding='0'>
      <tr>
        <td class='logo'></td>
      </tr>
    </table>
    </td></table>
    This is basicly a table with a table inside of it that uses the 2 styles we just added to the css to add the logo and the repeating gradient to the skin. This is basicly how it is done. An example can be found at http://darksoul.simplify.ws/exampleheader/

    My next tutorial will be on how to make those tables for ipb/if skins that have round edges :)
     

Share This Page