Moshambi's Profile User Rating: -----

Reputation: 8 Worker
Group:
Contributors
Active Posts:
280 (0.14 per day)
Joined:
20-November 07
Profile Views:
6,883
Last Active:
User is offline 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

Icon   Moshambi is coding.

Posts I've Made

  1. In Topic: Simple Tic - Tac - Toe Using HTML5, CSS3 and Javascript

    Posted 17 Sep 2011

    Thanks for showing the live demo, very very cool!
  2. In Topic: Simple Tic - Tac - Toe Using HTML5, CSS3 and Javascript

    Posted 16 Sep 2011

    View PostProgrammist, on 16 September 2011 - 05:59 AM, said:

    Would be cool if you had your example hosted somewhere (or upload the source) so that those of us already familiar with HTML5 and CSS3 can check it out in a browser and just view source. Thanks.


    I agree with this statement.
  3. 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; }
    
    
  4. 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 :)
  5. 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:
Website URL  http://
Xfire:
moshambi

Friends

Moshambi hasn't added any friends yet.

Comments

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