Forum Moderators: not2easy

Message Too Old, No Replies

can css make an element sit above everything else on the page

hoping to float an element above rest of page content

         

pnmorrison

9:06 am on Mar 2, 2009 (gmt 0)

10+ Year Member



I am looking to develop something simliar to the slide down basket widget at the top of here:

<snip>

However before i begin i wanted to know i could make it sit above the rest of the page. In otherwords when the basket slide down i would like the rest of the page to remain in situ ie not move, as if the basket slider was floating on top of the rest of the page content.

Not sure i f i have made myself clear but if anyone does understand want i need and u have a solution then i would be ever greatful.

[edited by: swa66 at 4:03 pm (utc) on Mar. 2, 2009]
[edit reason] NO personal links please see ToS [/edit]

oluoch28394

5:32 pm on Mar 3, 2009 (gmt 0)

10+ Year Member



position:absolute;
top:0px;

might be what you need

choster

6:37 pm on Mar 3, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If by "above" you mean front-to-back "above," you can set z-index on relative and absolutely positioned content to move blocks on top of others.