html - css layers ordering and arranging -


i trying have 1 one layer, , center images within. i.e., if have 3 images , want 3 links beneath them, there way without using separate div tag each link , image? automatically make links centered under images, , images spaced evenly within layer?

i wondering how make div show behind standard html if possible. i.e. if have text , div on text, div default show on text, when behind. possible using layer?

yes, you'll have put container element, such div, around each image , caption keep them together.

<div class="picturebox">     <div>         <img />         caption caption     </div>     <div>         <img />         more caption     </div> </div> -------- .picturebox div {     text-align: center;     /* whatever width/height/positioning want */ } 

for second part of question, regarding putting behind other text, take @ css z-index, though think applies absolutely positioned elements.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -