SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Threaded View

  1. #1
    SitePoint Wizard
    Join Date
    Jul 1999
    Location
    Chicago
    Posts
    2,629
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS and Layer design w/top nav?

    I am trying to make a template that has a few top elements. One is for the logo and search, one is for the navigation and the breadcrumb, and one is for page navigation.

    You can see the template in its current state here: http://aboutpcs.com/doc/template.html (this does not reflect any of my recent work on the template, it is just a good example of what I am talking about).

    The logo layer is #header, the nav and breadcrumb layer is #sections, and the page navigation layer is #info. Anyway, when I go to define #sections, I don't know exactly how tall #header is. I need to do something like this:

    Code:
    #section { 
      position: absolute;
      ...
      top: *height of #header*
    Otherwise, the background will show through. I'm "fixing" this right now by setting a huge border-top for #sections and #info, but there must be a better way.

    Thanks!
    Last edited by qslack; May 15, 2002 at 18:18.


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
  •