Moshambi's Profile
Reputation: 8
Worker
- Group:
- Contributors
- Active Posts:
- 280 (0.14 per day)
- Joined:
- 20-November 07
- Profile Views:
- 6,883
- Last Active:
Apr 17 2012 10:19 AM- Currently:
- Offline
Previous Fields
- Country:
- US
- OS Preference:
- Windows
- Favorite Browser:
- FireFox
- Favorite Processor:
- AMD
- Favorite Gaming Platform:
- Nintendo
- Your Car:
- Who Cares
- Dream Kudos:
- 25
Latest Visitors
-
RetardedGenius 
05 Oct 2011 - 14:55 -
Shane Hudson 
27 Apr 2011 - 08:57 -
cheenz87 
22 Feb 2011 - 09:31 -
rajkumars 
13 Feb 2011 - 06:29 -
gogosds 
20 Jan 2011 - 03:40
Posts I've Made
-
In Topic: Simple Tic - Tac - Toe Using HTML5, CSS3 and Javascript
Posted 17 Sep 2011
Thanks for showing the live demo, very very cool! -
In Topic: Simple Tic - Tac - Toe Using HTML5, CSS3 and Javascript
Posted 16 Sep 2011
-
In Topic: Text align to the right
Posted 11 Sep 2011
Oh I see. I would just give it a class along the lines of this:
<h3>Text Here</h3> <p class="align-right"> Paragraph text here. </p>
and then make your CSS class style like so:
.align-right { text-align: right; } -
In Topic: Text align to the right
Posted 11 Sep 2011
Well I'm not sure if I follow exactly but what it seems like you are asking about is the width of the paragraph. If it is just an issue with width you can easily add some CSS to adjust that:
Example:
div#container p { width: 500px; }
That would make all of the paragraphs 500 pixels wide so that they aren't too long/short. You could also (and this is how I would do it) just set the width of the container.
Hope I followed ok and this is what you were trying to get at. If not I'll try again
-
In Topic: Text align to the right
Posted 11 Sep 2011
Ok I just tested that code out to be sure and it does work. When you were trying to add this in, where were you adding it into your code? Do you have an updated version of your code I can look at?
Here is the test I just ran:
<!DOCTYPE html> <html> <head> <title>Testing</title> <style type="text/css"> div#container h3 { text-align: right; } div#container p { text-align: justify; } </style> </head> <body> <div id="container"> <h3>Right Aligned Text</h3> <p> This text will be justified. </p> </div> </body> </html>
My Information
- Member Title:
- D.I.C Regular
- Age:
- 25 years old
- Birthday:
- December 2, 1987
- Gender:
- Location:
- USA
- Interests:
- Coding, Gaming, Partying
- Full Name:
- Nick Young
- Years Programming:
- 6
- Programming Languages:
- HTML, XHTML, CSS, JavaScript, PHP, Java, C, C++, VB
Contact Information
- E-mail:
- Click here to e-mail me
- Website URL:
-
http://
- Xfire:
- moshambi
Friends
Moshambi hasn't added any friends yet.
|
|


Find Topics
Find Posts
View Reputation Given

|
Comments
Moshambi has no profile comments yet. Why not say hello?