|
Posted by David Dorward on December 7, 2005, 9:17 pm
Please log in for more thread options
Viken Karaguesian wrote:
> Can I prevent something, say a <div>, from scrolling when the page is
> scrolled? I know that with CSS, "background-attach: fixed" will anchor
> the background element and prevent it from scrolling.
>
> Is there a similar html/css variable or command that I can apply to a
> DIV, TABLE, or IMG?
position: fixed
Supported by CSS 2 browsers.
JavaScript workarounds exist for MSIE.
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/> Home is where the ~/.bashrc is
|