...

View Full Version : Aligning text on the same line



oodya
07-21-2008, 02:23 AM
Hi,

I am writing various things on one line - such as Previous, Back to Main Menu and Next - but would like to align the differently e.g. I would like "previous" to be aligned to the left of the page, "back to Main Menu" in the middle and "Next" on the right side. I have tried pressing space bar - but am only able to do one space in Dreamweaver. Any ideas?

Thanks.

abduraooft
07-21-2008, 08:17 AM
p.sample{
text-align:center;
}
p.sample a.left{
float:left;
}
p.sample a.right{
float:right;
}

<p class="sample">
<a href="#" class="left">Prev</a>
<a href="#" class="right">Next</a>
<a href="#">Back to main</a>
</p>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum