Results 1 to 2 of 2

Thread: tag

  1. #1
    Join Date
    Mar 2009
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default tag

    Hello,

    I built this site and I want to place a div tag right on top of the image of the restaurant with the tables and chairs but not on the green bar to the left of it. It has to be centered there and not move. How can I accomplish this?

    The site: http://www.naspos.com/site1/

    and here is the code:

    the html: http://pastebin.com/m29fc9644

    the css: http://pastebin.com/m3d447310

  2. #2
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    I think your trying to do this.

    Code:
    <div id="header">
          <div id="header_slogan">jQUERY CODA SLIDER HERE</div>
    <div style="position: relative; z-index: 50; background:#ff0000; width: 483px; height: 191px;"/>
        </div>

    Code:
    #header_slogan {
    color:#000000;
    float:left;
    font-weight:bold;
    margin-top:162px;
    position:relative;
    text-align:center;
    width:483px;
    z-index:10;
    }

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •