Jump to content

I need to know how to fix a table or object to the top of the page please.


drkylec

Recommended Posts

A client wants the top of the page to be fixed relative to the top so when they or a customer scrolls they can see the top at all times with the information continuing underneath if anyone can help me with some code or a link to a page that would be nice thanks ahead of time.

Link to comment
Share on other sites

CSS behaviour "position: static" is what you're after.

There are some nice examples out there on the web, no idea how ie7 handles it.. but ie6 doesn't support it and needs a javascript (or .htc I guess) workaround.

 

Position: fixed; is what you're looking for.

 

Edit: position: static; is the default positioning type of divs. We do not want to mimic the default behavior.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.