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 5 of 5
  1. #1
    Junior Member
    Join Date
    Nov 2006
    Posts
    25
    Member #
    14413
    Hi there i have recently created www.ukselfdefence.com
    Would i use one external style sheet for the site or a different one for the latout of each page...?
    BUT i have done it using tables for the formatting.
    I want to redo the whole site using CSS for the layout as this is the best way to format pages so i am told - is it a huge job? - is there anything in particular that i should be aware of or steer away from? - my main aim is to get the site to look good in as many browsers as possible and my code a lot cleaner!
    When i started out with web design i was told tables were the easiest way to start but i now need to go beyond that...
    If anyone can recommend any books "The missing CSS manual" looks good? then i will get them - i have found some great info in the CSS help links posted in this site by Karrine.
    Thanks in advance
    H

  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,717
    Member #
    5580
    Liked
    718 times
    CSS is the way to go and here's why ...

    Take a look at this site for example:
    http://www.cgrelayforlife.com

    If you look at the source code, you'll see that each page uses the same css file:
    http://www.cgrelayforlife.com/style.css

    So, if a change takes place in that CSS file, all of the pages will change.

    ===================

    Using PHP ...

    If you give your files a .php extension, you can use PHP scripting to control
    content on your pages ... in your case, navigation would be a good thing to control.

    You would have one page called: "navigation.php" that only handles the display of
    your menu. On every other page, you would "include" that file. So, if you wanted
    to change a menu item, you would only change it in one place and all of your
    pages would automatically reflect that change.

    This makes editing and changes very easy.

    One step further with PHP and you could have one PHP script that displays
    the content for any of your index2, index3, index4 pages.

    Again, look at the example site:
    http://www.cgrelayforlife.com

    Mouse-over the links and see that there is one PHP script called "page.php"
    A variable is assigned to each link, and the PHP script determines what content
    to display based on the variable ... there are no static web pages, only some
    text files that get "included".

    ====================

    So learn CSS and PHP for your next revision.


  4. #3
    Junior Member
    Join Date
    Nov 2006
    Posts
    25
    Member #
    14413
    Thanks for the help i will look into it now.
    Cheers

    H

  5. #4
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    In terms of books to use, karinne has posted a thread somewhere (stickied here?) with various resources you can use to learn CSS.

  6. #5
    Senior Member tonyf12's Avatar
    Join Date
    Mar 2007
    Posts
    132
    Member #
    14998


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 03:00 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com