Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    May 2006
    Location
    Canada
    Posts
    195
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool How to put font on right side?

    How would I be able to make my text on the right side instead of center and left?

    Code:
    <h1>Cs 1.6 Clan Server</h1>
    </br></br><h3>Recruitment</h3>
    </br></br><p>We are currently recruiting for our clan Team Rampage.</br> We are looking for a bunch of people who like either competitive or casual gameplay.</br> We will be getting a scrim team together as soon as we have 5-7 decent players.</br> That team will scrim when ever they feel like it.</br> This clan is mainly about having fun without and hassle.</br> If you wanna be a complete jerk go somewhere else.</p>
    <h1>Clan News</h1></br></br>
    <h3>Read the following.</h3></br>
    So the logo can be on the left side and i want my text on the right side?


    Here is the link for the index.php

    http://teamrampage.freehostia.com/
    Rawli

  • #2
    Senior Coder koyama's Avatar
    Join Date
    Dec 2006
    Location
    Copenhagen, Denmark
    Posts
    1,246
    Thanks
    1
    Thanked 5 Times in 5 Posts
    Quote Originally Posted by RawliJr View Post
    How would I be able to make my text on the right side instead of center and left?

    So the logo can be on the left side and i want my text on the right side?
    I'm not sure what you are trying to achieve.

    If you want the text to flow around the image then you should float the image:
    Code:
    img {
      float: left;
    }
    More seriously, are you aware that your page is rendered in quirks mode because you have not specified a document type? For now, add this to the top of your document:
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/REC-html40/loose.dtd">
    As a side issue you are using several deprecated elements and attributes such as the align attribute and the center element. You should avoid using those. Use styles instead.

    Example. Instead of this:
    Code:
    <p align="center">
      [...]
    </p>
    Use this:
    Code:
    p {
      text-align: center;
    }


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •