Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] CSS Image Sprite to align to background always

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #29955
    Hawk
    Member

    Similar to my topic yesterday: viewtopic.php?f=2&t=8873

    I have constructed a NAVBAR with CSS Image Sprites. It’s working. However the bar is aligned to left side of the screen. I have a feeling the position: absolute and relative is what’s messing it up. However when I tried the fixes given to me in the previous topic, it creates multiple instances of the navbar or some other nonsense that does not do what I intend.

    Viewable here: http://savingcontent.zymichost.com/test.html

    – Any suggestions?

    #81692
    TheDoc
    Member

    Hey there Hawk,

    You need to put your navlist inside your wrapper, like so:

    <div id="wrapper">

    <ul id="navlist">
    <li>…</li>
    </ul>

    </div><!–close wrapper–>

    #81693
    Hawk
    Member

    Wow!

    I can’t believe I missed that.

    Thank you so much. I think I got this now from here on…hopefully.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.