Topic on Project:Support desk

Scrolling with header

3
94.197.122.81 (talkcontribs)

Hi how can I make the header top bar when you scroll it will scroll with you like winter because I am updating a skin that someone else created and I would like to add when scrolling it would follow.

88.130.70.114 (talkcontribs)

The header of the skins I know will scroll with automatically. If what you actually mean is be fixed at the same position of the screen, CSS, especially position: fixed; will be the way to go.

92.40.250.87 (talkcontribs)

Hi thanks but that does keeps it up there it doesent move when scrolled and it also removes scroll

div#content {
	margin-left: 178px;
	padding-bottom: 1em;
	padding-top:0em;
	/* @embed */
	background-image: url(images/border.png);
	background-position: top left;
	background-repeat: repeat-y;
	background-color: white;
	color: black;
	direction: ltr;
	height:auto;
	position:absolute;
	bottom:0px;
	top:40px;
	overflow:auto;
	-webkit-overflow-scrolling: touch;
}

I would like to change the above so that it does the top bar instead of the side bar and any things else just the top bar. like winter.

Reply to "Scrolling with header"