Connecting Tech Pros Worldwide Forums | Help | Site Map

I'm trying to get my sidebar to stay at the top of the page.

Newbie
 
Join Date: Jul 2008
Posts: 1
#1: Jul 18 '08
I'm a complete beginner at web design, and made a website using basic tutorials. It isn't on the internet.

I'm trying to get the sidebar (which comprises links) to always stay at the top of the page, as opposed to what it's doing right now, which is moving to the middle of page as the page gets larger, and would like to know how to do this with html or css. Thanks in advance, and sorry for my blatant proselytism.

acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#2: Jul 18 '08

re: I'm trying to get my sidebar to stay at the top of the page.


Use position:absolute. If that doesn't work, post your code.
Reply


Similar HTML / CSS bytes