Original question:
If you have 1 paragraph and you want to align 2 words one in each side as the attachment suggests, how do you do it?
I tried the following code:
Code:
<p class="align_right">HURRAY! <span class="align_left">HURRAY AGAIN!</span></p>
Code:
.align_right
{
text-align:right;
}
.align_left
{
text-align:left;
}
Why is this not working?
[SOLVED]
Answer: Use the float rule instead, so:
Code:
.align_right
{
float:right;
}
.align_left
{
float:left;
}