treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Side Icons

  • Hey i found this on chris.pirillo.com. On the side of his page he has these small icons that lead to his homepage, RSS feed, email contact, and stats. The icons scroll with the user when they scroll so it is there at all times, how does this work. also is this some kind of wordpress plugin or maybe a jquery tool. ok hope someone can help.

    Thanks :D
  • It's pretty simple position:fixed css code.

    #mini-nav {style.css (line 90)
    position:fixed;
    right:10px;
    top:20px;
    width:18px;
    }
  • "box" said:
    It's pretty simple position:fixed css code.

    #mini-nav {style.css (line 90)
    position:fixed;
    right:10px;
    top:20px;
    width:18px;
    }
    can i ask what the line 90 is for? i do not have to put it on line 90 right? also would google adsense allow me to put ads on a fixed position so it is always on the screen. I wanted to do that for other advertiser too.

    Thanks :D
  • Sorry - "style.css (line 90)" is meaningless - I merely cut it from firebug so that I could illustrate the active css for your query. Don't worry about it lol