bulba Posted August 11, 2006 Share Posted August 11, 2006 How do I make the text alignled right? Link to comment Share on other sites More sharing options...
murfitUK Posted August 11, 2006 Share Posted August 11, 2006 Well, if you're using just html it would be:<p align="right">This text will be on the right</p>But if you're using CSS (I don't think you will be) you could set up a class for right-aligned text by doing something like this:p.right {text-align: right;}and then in your html have:<p class="right">This text will be right</p> Link to comment Share on other sites More sharing options...
holmedwa04 Posted August 25, 2006 Share Posted August 25, 2006 Well, if you're using just html it would be:<p align="right">This text will be on the right</p>But if you're using CSS (I don't think you will be) you could set up a class for right-aligned text by doing something like this:p.right {text-align: right;}and then in your html have:<p class="right">This text will be right</p>I would just like to add to that, that if you are trying to align text in tables, some sites say you cant, but if you just use the <p align="right">Text</p> it will work! Link to comment Share on other sites More sharing options...
justsomeguy Posted August 26, 2006 Share Posted August 26, 2006 If you're working with tables, you can also put an alignment directly on the td.<td style="text-align: right; vertical-align: top;"> Link to comment Share on other sites More sharing options...
holmedwa04 Posted August 28, 2006 Share Posted August 28, 2006 If you're working with tables, you can also put an alignment directly on the td.<td style="text-align: right; vertical-align: top;">Of I didn't realise that you could do that, this is a big help for me! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now