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.

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.

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.