Css布局帮助 - 3列页脚

Mic*_*cah 8 css

我试图让我的网站中的页脚看起来像这样:

Wilgrove Baptist Church             Home | About | Ministries            1234 S. Main st.
John G. Smith, Sr. Pastor              Contact Us | Site Map           somwhere, ID 55555

我的问题是它被列入3列.有什么建议?

谢谢!

Jay*_*ayx 14

使用花车很容易做到:

<div id="footer">
    <p class="left">Left aligned text here<br />Next line here</p>
    <p class="right">Right aligned text here<br />Next line here</p>
    <p class="centered">Center Text here<br />Next line here</p>
</div>
Run Code Online (Sandbox Code Playgroud)

和CSS:

.left{
text-align:left;
float:left;
}
.right{
float:right;
text-align:right;
}
.centered{
text-align:center;
}
Run Code Online (Sandbox Code Playgroud)