Jump to content

some positioning help needed


severndigital

Recommended Posts

ok .. here is what i have

 

5 divs

 

<div id="logo">
   Logo
</div>

<div id="man1">
   Man 1
</div>

<div id="man2">
   Man 2
</div>

<div id="man3">
   Man 3
</div>

<div id="man4">
   Man 4
</div>

<div id="man5">
   Man 5
</div>

 

my css so far is as follows

#logo{
border: purple 1px solid;
}
#man1 {
border: cyan 1px solid;
width: 25%;
height: 400px;
float: left;
}
#man2 {
border: orange 1px solid;
width: 16%;
height: 400px;
float: left;
margin-top: 100px;
}
#man3 {
border: green 1px solid;
width: 17%;
height: 400px;
float: left;
margin-top: 175px;
}
#man4 {
border: blue 1px solid;
width: 16%;
height: 400px;
float: left;
margin-top: 100px;

}
#man5 {
border: pink 1px solid;
width: 25%;
height: 400px;
float: left;
}

 

the css so far puts the logo div above everything

 

what i want to do is put the logo div in the gap created by man1 and .

Not above everything, but actually between the two divs so that man1, logo, man5 line up at the top with man 2, man 3, man 4 below logo

 

anyone have a solution

 

thanks,

C

 

 

 

 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/128101-some-positioning-help-needed/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.