Here's an example of what my layout looks like:
id = main contains the left and right columns. (it's not the white part, it's the green and red part)
Here's the code i have for the left and right columns:
As you can see, my left and right are aligned to the center of the user's screen. What i'm trying to do is place the logo left of the red part so that there's a gap of 20px between the left column and the logo (so since the logo is 100px, it's basically left: -120px).
I'm trying to do something like this
#logo {
float: left;
left: -120px;
postion: absolute;
z-index: 1
}
It works but the text in the left column seems to think that #logo is in that column and it just wraps around the invisible div. How do i place the image there, and have the text in the left column not assume that the image is taking it's spot.
![2cnbi13.gif](http://i34.tinypic.com/2cnbi13.gif)
id = main contains the left and right columns. (it's not the white part, it's the green and red part)
Here's the code i have for the left and right columns:
Code:
#main {
margin: 0 auto;
width: 788px;
text-align: left;
background-image: url(/img/blackandwhite.gif);
background-repeat: repeat-y;
border: 2px solid #202020;
}
#left {
width: 262px;
color: #fff;
float: left;
min-height: 400px ;
}
#right {
width: 512px ;
text-align: left;
float: right;
min-height: 400px;
}
As you can see, my left and right are aligned to the center of the user's screen. What i'm trying to do is place the logo left of the red part so that there's a gap of 20px between the left column and the logo (so since the logo is 100px, it's basically left: -120px).
I'm trying to do something like this
#logo {
float: left;
left: -120px;
postion: absolute;
z-index: 1
}
It works but the text in the left column seems to think that #logo is in that column and it just wraps around the invisible div. How do i place the image there, and have the text in the left column not assume that the image is taking it's spot.