I have the following html code:
<div class="a">
<div class="b">
<a href="#">text</a>
</div>
<div class="c">
text
</div>
</div>
div.a
{
margin-top: 10px;
clear: left;
float: left;
width: 100%;
text-align: center;
}
div.b
{
padding: 27px 10px 7px 10px;
background-color: #fff;
overflow: hidden;
float: left;
}
div.c
{
float: left;
}
What styles should I set for div.c to make it be beside the div.b and fit the remaining width?
It's for a tempalte that will fit 100% of the screen.
thanks!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…