How to position layer within another?

Discussion in 'CSS' started by emitind, May 20, 2008.

  1. #1
    I just need to fit and align a div layer within another basically. Please look at this page and source: http://www.designmind.co.uk/menu.html

    I need the menu tabs (within a DIV) to be within the red bit (another DIV), to the left of the image and along the base of the red area.

    I'm sure it's quite simple but I can't get it right! Appreciate any advice or help.
    Thanks.
     
    emitind, May 20, 2008 IP
  2. HDaddy

    HDaddy Active Member

    Messages:
    287
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    60
    #2
    move this:

    <ul id="tabnav">
    <li><a href="#" title="Review site: Home">home</a></li>
    <li><a href="#" title="CREATE TOPIC">create topic</a> </li>
    <li><a href="#" title="logout">logout</a> </li>

    </ul>
    </div>

    inside here like this:

    <div id="banner">
    <Center><img src="http://horse-rider.net/images/logo.jpg"></Center>
    <ul id="tabnav">
    <li><a href="#" title="Review site: Home">home</a></li>
    <li><a href="#" title="CREATE TOPIC">create topic</a> </li>
    <li><a href="#" title="logout">logout</a> </li>

    </ul>
    </div>

    </div>
     
    HDaddy, May 21, 2008 IP