Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 9 of 9
  1. #1
    Senior Member
    Join Date
    Aug 2003
    Location
    Melbourne, Australia
    Posts
    162
    Member #
    2563
    New to CSS and trying to implement it into my site to improve the ease of update. I have created a demo of how the new page should look at http://www.kisstroyer.com/html/newstest.shtml

    Basically what I have done is implement css by using <font class="bodytext">. Is that how it's done?

  2.  

  3. #2
    Senior Member Brak's Avatar
    Join Date
    Apr 2003
    Location
    San Francisco, CA
    Posts
    3,413
    Member #
    1217
    Liked
    2 times
    it's "proper" to use <span class="bodytext"> or <td class="bodytext"> or <div class="bodytext"> I think the entire <font> tag is depricated now.
    Kyle Neath: Rockstar extraordinare
    The blog | The poetry site | The Spore site

  4. #3
    Senior Member
    Join Date
    Aug 2003
    Location
    Melbourne, Australia
    Posts
    162
    Member #
    2563
    OK, cool - thanks for the quick reply.

    Shall implement the changes now!

  5. #4
    Senior Member
    Join Date
    Aug 2003
    Location
    Melbourne, Australia
    Posts
    162
    Member #
    2563
    Wow, that cut a fair amount of code out of the news page on my site. My next two questions on CSS are:

    1. Are <p> tags still relevent? Or is there something "smarter" to use when breaking up text?

    2. I love justified text, at the moment I set this via <p align='justified'>. Is it possible to do this in css as well?

  6. #5
    JR
    JR is offline
    Senior Member JR's Avatar
    Join Date
    Nov 2002
    Location
    UK
    Posts
    4,354
    Member #
    257
    The best CSS reference page IMO is http://www.w3schools.com/css/. Check it out.
    JR

  7. #6
    Member Black Vivi's Avatar
    Join Date
    Apr 2003
    Location
    UK
    Posts
    75
    Member #
    1072
    2. I love justified text, at the moment I set this via <p align='justified'>. Is it possible to do this in css as well?
    use this:
    Code:
    <span style="text-align:justify;">
    Download Firebird now!

  8. #7
    Senior Member justlivyalife's Avatar
    Join Date
    Jul 2003
    Location
    Birmingham, UK
    Posts
    2,871
    Member #
    2374
    good idea - why don't you just use left aligned text though - i think justified text can look wierd if you have a long word of somehting.
    justlivyalife - The future depends on what we do in the present. (Mahatma Gandhi)
    WDF Resources: WDF Rules
    Non-WDF: JavascriptSource | Dynamic Drive | phpBB | HTML-Kit | Winamp | Download Firefox | Morguefile

  9. #8
    Senior Member Brak's Avatar
    Join Date
    Apr 2003
    Location
    San Francisco, CA
    Posts
    3,413
    Member #
    1217
    Liked
    2 times
    Ah, I forgot about <p> you can easily do <p class="bodytext" align="justify"> OR add in the bit about justify in your class of bodytext and achieve the same effect.
    Kyle Neath: Rockstar extraordinare
    The blog | The poetry site | The Spore site

  10. #9
    Senior Member
    Join Date
    Aug 2003
    Location
    Melbourne, Australia
    Posts
    162
    Member #
    2563
    thanks to all, I have re-written a lot of the site and as a result there is a LOT less code being used and it will be a lot quicker when implementing site wide changes.

    you all ROCK :-)


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 06:24 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com