- Jun 2, 2008
- 163
- 0
- 0
I have a css box and I'm trying to figure out how to have text on the left and right.
It should look like
[left side] Comment [far right side] Comment History
http://i302.photobucket.com/al...EarthWillShake/css.jpg
But the comment history is one step down.
HTML
************
<div id="comment-box">
<div id="comment-header">
Comments<div id="comment-history">Comment History</div>
</div>
(JUST TEXT HERE) jflkdsjalkfjdsalkfjlkdsajflkdsajlfkdsjafjldsajflkdsajflds
</div>
************
CSS
************
#comment-box {
border: 1px solid #000000;
}
#comment-header {
margin: 0 0 0 0;
background: #666666;
}
#comment-history
{
text-align: right;
}
Thanks!
It should look like
[left side] Comment [far right side] Comment History
http://i302.photobucket.com/al...EarthWillShake/css.jpg
But the comment history is one step down.
HTML
************
<div id="comment-box">
<div id="comment-header">
Comments<div id="comment-history">Comment History</div>
</div>
(JUST TEXT HERE) jflkdsjalkfjdsalkfjlkdsajflkdsajlfkdsjafjldsajflkdsajflds
</div>
************
CSS
************
#comment-box {
border: 1px solid #000000;
}
#comment-header {
margin: 0 0 0 0;
background: #666666;
}
#comment-history
{
text-align: right;
}
Thanks!