nihilater
09-27-2009, 07:32 AM
I have 2 "About" on my footer below but the second one keeps on displaying on a new line like:
this is the problem page:
http://rodsyconstruction.com/able/img1.jpg
this is the correct one, i want it to look like this:
http://rodsyconstruction.com/able/img2.jpg
i have this html code:
<div id="abouts">
<span>
<div id="this_foot">
<h3>About</h3>
<p>asd</p>
</div>
<div id="this_foot2">
<h3>About</h3>
<p>asd</p>
</div>
</span>
</div>
and a CSS line like this:
#abouts
{
position:relative;
width:890px;
height:209px;
padding-top:20px;
padding-bottom:10px;
margin-left:100px;
}
#abouts span
{display:inline;
}
#this_foot
{
position:relative;
background:url(images/footerbg.jpg);
background-position:left;
background-repeat:no-repeat;
width:345px;
height:168px;
margin-right:10px;
}
#this_foot h3
{
font-family:Arial, Helvetica, sans-serif;
text-align:right;
font-size:14px;
font-weight:900;
color:#72ff00;
padding-top:20px;
padding-right:10px;
margin-right:10px;
}
#this_foot span
{
display:inline;
}
#this_foot p
{
font-family:Arial, Helvetica, sans-serif;
font-size:11px;
color: #FFFFFF;
margin-left:20px;
margin-right:20px;
}
#this_foot a
{
color: #0af3f6;
}
#this_foot a:hover, a:active
{
color: #72ff00;
}
I can do it by making the second about "absolute" but it is much tedious and it is not compatible with IE where it sticks half of its head above. I just want to do it with two divs and align it on the same line.
thanks, please help.
this is the problem page:
http://rodsyconstruction.com/able/img1.jpg
this is the correct one, i want it to look like this:
http://rodsyconstruction.com/able/img2.jpg
i have this html code:
<div id="abouts">
<span>
<div id="this_foot">
<h3>About</h3>
<p>asd</p>
</div>
<div id="this_foot2">
<h3>About</h3>
<p>asd</p>
</div>
</span>
</div>
and a CSS line like this:
#abouts
{
position:relative;
width:890px;
height:209px;
padding-top:20px;
padding-bottom:10px;
margin-left:100px;
}
#abouts span
{display:inline;
}
#this_foot
{
position:relative;
background:url(images/footerbg.jpg);
background-position:left;
background-repeat:no-repeat;
width:345px;
height:168px;
margin-right:10px;
}
#this_foot h3
{
font-family:Arial, Helvetica, sans-serif;
text-align:right;
font-size:14px;
font-weight:900;
color:#72ff00;
padding-top:20px;
padding-right:10px;
margin-right:10px;
}
#this_foot span
{
display:inline;
}
#this_foot p
{
font-family:Arial, Helvetica, sans-serif;
font-size:11px;
color: #FFFFFF;
margin-left:20px;
margin-right:20px;
}
#this_foot a
{
color: #0af3f6;
}
#this_foot a:hover, a:active
{
color: #72ff00;
}
I can do it by making the second about "absolute" but it is much tedious and it is not compatible with IE where it sticks half of its head above. I just want to do it with two divs and align it on the same line.
thanks, please help.