• Resolved acknowledged74

    (@acknowledged74)


    Hi

    I need to position the <Div id=”king”> within my header ?

    I know I should know how to do this, but I’m struggling.

    Ok I’ve added in a header <div>

    <div id=”wrapper2″>
    <div id=”header”>
    <div id=”navigation”>
    <div id=”kings”><img src=”https://www.scorpionbabyentertainment.com/wp-content/uploads/2008/12/kinsofleon.jpg&#8221; alt=”itunes” width=”248″ height=”140″ border=”0″ /></div>

    </div>

    I need the “king” div to sit right of center. Currently I have:

    #navigation
    {
    clear: both;
    width: 100%;
    background: #ffffff url(‘images/navheader1.jpg’) no-repeat top;
    height: 230px;
    }

    #kings {
    position:absolute;
    width:261px;
    height:144px;
    z-index:1;
    text-align:center;
    top:29px;
    }

    If I add left:740px; it sits where I want it but only on the 1268 res screen.

    please take a look at: [url=https://www.scorpionbabyentertainment.com/]? About Us[/url]

    Bascially I need to position it inside the header tag rather than on the screen, but if I use say left: it does it from the far left of the screen?

    Ashley

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I need to position a <div> tag in the header ?’ is closed to new replies.