Results 1 to 4 of 4

Thread: css on php page?

  1. #1
    Join Date
    Apr 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default css on php page?

    Is there a way of using css on a .php page?

    Reason being because my menu could be changing regularly (and my logo will be changing too) and it would obviously be easier to change it just the once when required rather than changing the css and then the php page which will be the home page.

    For a preview of what i mean, the (new) home page is viewable at http://www.rhylfc.co.uk/new_site_test/index2.php
    It is a php page because of the permanent poll which will be on that page.

    The other pages on the site will be css with file extension of .shtml
    See http://www.rhylfc.co.uk/new_site_test/table_test.shtml

    thanks in advance

  2. #2
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Your already using CSS on those pages...

    Also, you have an html doc inside an html doc on your main page, i suggest you validate everything.
    Also, instead of tables for layout, use css. tables are for tabular data.
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

  3. #3
    Join Date
    Apr 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks for the assistance.

    I am still rather new to webdesign, and learning as i go along in spare time that i rarely have.

    Because of this, it is currently easier for me to use tables as i really have not got a clue about how to use css.

    My main aim at the moment is just to get my menu to work as it should on the home page which is .php while all other pages will be .shtml so they will be sorted out.

    As an example, if i am not clear, take another look at my two pages.
    What will be the league table page, the menu has been done so it changes automatically.
    But i can't get the menu on the home page to do the same thing - why? and how can i get it to?

    Edit* I have now just noticed that my menu has vanished off my homepage, but it is still there on dreamweaver. That has really confused me now.
    Edit(again) I have sorted it and the menu is back again.
    Last edited by cymru78; 04-30-2007 at 01:02 AM. Reason: menu gone..& back again

  4. #4
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    for a css tutorial: http://www.w3schools.com/css
    there are also some tutorials on html, JS, php etc.. on the main site.

    your site would also do well going through the validators below.
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

Bookmarks

Posting Permissions

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