Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi How do I display part of an object within a div or other element?
Description
help.jpg
Posted
Comments
Ajith K Gatty 23-Jul-14 6:53am    
You need to explain properly.

1 solution

Like this:

HTML
<div style="border: 1px solid red; height:200px; width:400px; z-index:2; top:100px; left:200px; position:absolute; ">
</div>
<div style="border: 1px solid black; height:200px; width:100%;z-index:1; background-color:white; position:absolute;">

</div>
<div style="border: 1px solid Green; height:200px;  width:100%;z-index:3; top:200px; background-color:white; position:absolute; ">

</div>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900