|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Overlapping boxes w/ CSS
How can I make three boxes overlap like in my included image?
Boxes 2 and 3 would grow vertically as content increased, but they would have to overlap Box 1. |
|
#2
|
|||
|
|||
|
BTW, I will be using this as a blogger template, so I will be sticking a bit of code into Boxes 2 and 3, so they have to be able to expand and move depending on content.
|
|
#3
|
|||
|
|||
|
CSS will provide the solution I think you are after..
See the attached files for an example. Can explain it if you need me to: Forgot to add, I only tested in IE Last edited by Phil_work : September 19th, 2003 at 12:30 AM. |
|
#4
|
|||
|
|||
|
Thanks.
That worked. The key, as you pointed out, was to put boxes 2 and 3 inside an absolute-placed container! |
|
#5
|
||||
|
||||
|
If you wish box 1's text to wrap, float (from within box 1) box's 2 & 3. To get the overlap, use something similar to this;
Code:
.sidebox {position: relative;
float: right;
right: 50px;
width: 175px;}
<span class="sidebox">blah, blah,etc. </span>
cheers, gary
__________________
There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing. Ask a better question, get a better answer. |
|
#6
|
|||
|
|||
|
sorry im, not sure at all im currently trying to do exactly the same thing lol tryingt o make a weblayout
|
|
#7
|
|||
|
|||
|
|
|
#8
|
|||
|
|||
|
lol iots good but i dont under stand where you have used the codes sorry, i took that code that that guy gave you but i couldnt get it to work! =(
|
|
#9
|
|||
|
|||
|
What part is not working for you Kassie?
|
|
#10
|
|||
|
|||
|
Oops...my bad.
The url in my last message was not the one I wanted to show you. It's a slghtly different one. I had 100% success with the posted zip file. I hope you can figure out the problem. |
|
#11
|
|||
|
|||
|
none of it will work, all i want is a weblayout with two boxes, one box slightly verlapping the other one lol and the other with a picture of jackie chan in which i have enclosed,Thanx
|
|
#12
|
|||
|
|||
|
bruce, do u have the correct url please?
|
|
#13
|
|||
|
|||
|
testing cookies
|
|
#14
|
|||
|
|||
|
Quote:
Hey that should be easy enough to achieve using the code that I posted above, just edit the HTML and CSS files. If you have given it a go post the code and I can take a look. |
|
#15
|
|||
|
|||
|
Lol, okay ill try but i dont get it at all, nevermind, ive tried on frontpage but im a html girl myself, and know hardly any!eeeek
|
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > Overlapping boxes w/ CSS |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|