/    Sign up×
Community /Pin to ProfileBookmark

Making something fixed on the page.

How would I make something fixed on the page like this site

[URL=http://www.bungie.net]Click Here[/URL]

to post a comment
HTML

8 Comments(s)

Copy linkTweet thisAlerts:
@The_Little_GuyNov 13.2005 — I know that the background image on the left is made something like this:

<style type="text/css">

body{

background-image: url('smiley.gif');

background-repeat: no-repeat;

background-attachment: fixed

}

</style>
Copy linkTweet thisAlerts:
@LiLcRaZyFuZzYNov 13.2005 — can you believe this guy has an 80kB big huge enormous css file?

no`? you cant? check it out : http://www.bungie.net/css/NewerBrowsers.css
Copy linkTweet thisAlerts:
@JAPersonNov 13.2005 — Wow, that is one high tech site. Masamune, that is being done with a Java program on the server side. So your best bet is to ask your question on the [URL=http://www.webdeveloper.com/forum/forumdisplay.php?f=31]Server Side Developement > Java forum[/URL].
Copy linkTweet thisAlerts:
@AlbatrossNov 13.2005 — It also looks like they're using C#
Copy linkTweet thisAlerts:
@Masamune212authorNov 18.2005 — Yah that site has to be high tech. Over 350,000,000 people have Halo 2 and are constantly going on to check their stats.
Copy linkTweet thisAlerts:
@Masamune212authorNov 18.2005 — Wait is it a server side language? My server doesnt support any other serverside languages.
Copy linkTweet thisAlerts:
@AlbatrossNov 22.2005 — C# is a full programming language. It's merely being used on the server-side for that particular site.
Copy linkTweet thisAlerts:
@radiksNov 22.2005 — can you believe this guy has an 80kB big huge enormous css file?

no`? you cant? check it out : http://www.bungie.net/css/NewerBrowsers.css[/QUOTE]


The various components of the page that do not move are defined in that CSS file (#topFixed, #topFixedRight, etc). Java and C# have nothing to do with it.
×

Success!

Help @Masamune212 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...