SMITTY wrote:
> Coupld someone explain how to keep yje top of a website from moving when you
> have to scroll down to read a page. What I mean is I don't want the banner
> with links to my other pages to move I wan the customer to be able to see
> them all the time.
The effect is possible using css (hint: overflow) which will work in all
modern browsers whereas position:fixed does not. I may be able to
supply the necessary code but I think I got rid of it. The only problem
is that it wouldn't scroll with my mouse scrollwheel in Opera, you had
to use the scrollbar.
However, even though it does technically work, it is still a poor design
principle.
1. You are eating up screen real estate unnecessarily. The space is
better used for displaying the real content.
2. It looks weird.
3. You can place links at the bottom of the page.
As for DHTML - do not use it (apart from the problems above). You risk
an unworkable page when JS is disabled, and perhaps more importantly
*every* single script I have seen has been jumpy and looks totally
unprofessional. And the less jumpy they are, the more they demand of the
UA's resources.
So: put this idea back in its box and wait for IE to support
position:fixed. And even then, use the effect very sparingly.<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: HElp