• im learning about how to css a large background

    http://www.webdesignerwall.com/tutorials/how-to-css-large-background/

    and he provides one solution using wrapper code

    but im looking in my theme and i dont see a wrapper code for the image at the top i see header code

    For example.. wrapper code for image at top provided by that site above

    #wrapper {
    	background: url(images/corkboard-top-bg.png) no-repeat center top;
    	width: 100%;
    	display: table;

    Now the header code in my theme

    #header {
    	height: 115px;
    	background: url(images/header.png) no-repeat;
    	position: relative;

    Are they the same?

Viewing 3 replies - 1 through 3 (of 3 total)
  • No – they’re not the same. You’d need to place your entire page content (ie everything after <body> and before </body>) in a single div with the id of wrapper.

    <body>
    <div id="wrapper">
    [ ... ]
    </div></body>
    Thread Starter thefearless

    (@thefearless)

    is wrapper good or bad? why has my theme not got wrapper

    is wrapper good or bad?

    There’s no answer to that! A wrapper is simply a block (usually a div) created to enclose markup. It is neither good nor bad.

    why has my theme not got wrapper

    Presumably because the theme’s author didn’t need to use one.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘The difference between Wrapper and Header?’ is closed to new replies.