Hi
can someone help me. i have 3 div stack together like
[ ]
[ ]
[ ]
the problem is i want to add 1 div on top inside the 3 div acting as a border how do i do that.
thank you!
1 reply to this topic
#1
Posted 24 January 2012 - 10:48 PM
|
|
|
#2
Posted 26 January 2012 - 07:25 AM
you can do that with css.
The css would be like:
- JillesCode
<div id="a"> <div id="border"></div> <div id="b">the second div.</div> </div>
The css would be like:
#a{width:100px;height:50px;position:absolute}
#border{background:#000;width:100px;height:1px;position:relative;top:-1px;}
I hope this is what you mean.- JillesCode
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









