Kracker Posted March 27, 2012 Report Share Posted March 27, 2012 Sveiki! Kāds ziniet, kā ar css palīdzību var iegūt, lai DIV vai kāds cits elements parādas visiem pārējiem elementiem pa virsu? P.S. Ir Overlay, kas uztaisa pelēku BG un pats galvenais DIV, kas izvada info. Paldies! Quote Link to comment Share on other sites More sharing options...
*jancis38* Posted March 27, 2012 Report Share Posted March 27, 2012 z-index? Quote Link to comment Share on other sites More sharing options...
Kemito Posted March 28, 2012 Report Share Posted March 28, 2012 z-index: 1 zemākais objekts. z-index: 2 augstāks objekts. z-index: 9999 augstākais objekts. Quote Link to comment Share on other sites More sharing options...
foxsk8 Posted March 28, 2012 Report Share Posted March 28, 2012 Kur palika vēl position:absolute, un tālāk vēl top, left, kā arī parent elementam, jāuzliek position:relative, savādāk, top un left sāksies no body elementa, nevis no kāda no parentiem. :) Quote Link to comment Share on other sites More sharing options...
rpr Posted March 28, 2012 Report Share Posted March 28, 2012 var taču arī ar relative. Quote Link to comment Share on other sites More sharing options...
Kracker Posted March 28, 2012 Author Report Share Posted March 28, 2012 Lielas paldies, izmēģināšu ar z-index un padošu ziņu kā strādā. p.s. Absolute un relative jau tiek izmantots ;) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.