2 replies [Last post]
dunkster
Offline
newbie
Last seen: 17 years 43 weeks ago
Joined: 2004-09-04
Posts: 2
Points: 0

This is going to sound a very stupid question but its been puzzling me.

I have just started looking into CSS based layouts, and have been looking at existing sites to try and get a feel for how its done. The thing that puzzles me is that common elements on pages such as headers, navigation etc, appear to be static, and when a link is clicked they do not load again, only the new content. Is this what happens? and if so how? Or is it just that they appear to do this because they load so fast? Any answers are mush appreciated.

dunkster

mkjoker
Offline
Regular
Dresden
Last seen: 17 years 43 weeks ago
Dresden
Timezone: GMT+1
Joined: 2004-09-01
Posts: 40
Points: 0

Newb question, pleas help

Hi dunkster,

as long as you're not talking about pages with frames it's probably your second guess. The appearance of those elements is defined in the css, which usually doesn't change inside a website. The browser downloaded it already. So when you click a link, it only loads the new html-file. A div or the navigation is not that big - so it loads quite fast - but the content might be much bigger.

mkjoker

dunkster
Offline
newbie
Last seen: 17 years 43 weeks ago
Joined: 2004-09-04
Posts: 2
Points: 0

Newb question, pleas help

Ok, thanks very much.