hi,
how to display a div on top off all the other content?
i tried style=" position:relative; left:0px; top:0px; z-index:100;"
which didn't work, then when i used position:absolute; it worked but, it displays in a totaly in appropriate position because of position:absolute . how can i make this happen? when i use position:relative; all the other content under it jumps down...
much appreciate reply...
Virangya 0 Junior Poster
Recommended Answers
Jump to PostAre you wanting the div in question to be above the rest of the content or layered over the other divs?
Either
position:fixed
orposition:absolute
should do it. But having a declared doctype is a must.
Jump to PostOkay, it sounds like you want it to be dynamic on top of everything else?
We really need a link to the site in question or see the css and the html so see what you're talking about.
All 7 Replies
shahbaz13 0 Light Poster
teedoff 3 Posting Pro
Dandello 8 Posting Whiz in Training
Virangya 0 Junior Poster
Dandello 8 Posting Whiz in Training
Virangya 0 Junior Poster
Virangya 0 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.