PDA

View Full Version : Div Position


indianleo
12-05-2008, 05:41 AM
Hello Friends,

I had created a panel in which I want Heading panel to placed top, logos to left and brief to right but the brief div is coming below logo div how should I make the brief div come beside logo div


Please look at the CSS as well html code


#panel{
background-color:#EFEFEF;
padding:20px;
}

#heading{
text-align="left";
height:30px;
}

#logo{
width:200px;
padding-right:20px;
text-align:left;
}

#brief{
text-align:left;
}



HTML Code

<div id="panel">
<div id="heading"><a href="">heading</a></div>
<div id="logo"> <img src="abc.gif" /></div>
<div id="brief">brief brief</div>
</div>

edbr
12-05-2008, 06:13 AM
you have to us positioning ie relative and float them, then clear where you need it. have a look at the pages in my sig link for different links, the page is similar to what you want you just have to work with it to get the idea I think