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:
this is the correct one, i want it to look like this:
i have this html code:
and a CSS line like 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>
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.HTML Code:#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; }
thanks, please help.





Reply With Quote


Bookmarks