PHP & IT Outsourcing

Discussion in 'HTML & Website Design' started by alix123, Jan 27, 2008.

  1. #1
    Hello,

    I worked on HTML and also know little about PHP.

    Now I have to learn about css.

    I wanna to know how can I use css with html or php?

    Is in the programming of infoseeksoftwaresystems.com css used correctly or not? If not then how can I used? Actually its my new project with which one I have to handle.


    Thanks
    Clark
    :)
     
    alix123, Jan 27, 2008 IP
  2. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You dont know either design (html/css) or programming (.Net/ PHP) but have written a website offering design & development outsourcing?

    In a short answer, it isnt used as it is intended on the site.... for one you still have common styles being defined in the html itself and secondly you have a lot of html attributes that would generally be best served as being controlled by CSS instead.

    You really do need to learn how to make websites before you start offering the service as it is people that dont that give everyone else such a bad reputation.

    PS.. there is not a single piece of tabular data on your landing page and so there should not be a single table in the HTML rather than the 17 nested tables that you have
     
    AstarothSolutions, Jan 27, 2008 IP
  3. sickanimations

    sickanimations Peon

    Messages:
    137
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You should use HTML as semantically as possible, and by that I mean that you should use the elements correctly. For example:
    - Lists of things (such as links) should be contained in ULs or OLs
    - Headings should be in H1, H2, H3, H4, etc.
    - Paragraphs of text should be in P
    - Use DIVs to create the framework for your pages
    - Use ALT tags on images
    - Use EM to emphasise things and STRONG to place a strong emphasis on something
    - Use tables for tabular data ONLY (like AstarothSolutions mentioned)

    Once you've coded a skeleton page, you can then use CSS to add presentational information such as colours, sizes, widths, heights, fonts, background images, lists, alignments, margins and almost anything else.

    Essentially, your HTML should contain as much CONTENT as possible, and you should let the CSS take care of the presentation.

    Your website has a nice layout, but the markup isn't so good. The table-dependant layout is not good practice and you have too much presentational information in the HTML.

    For a good start on using HTML + CSS, try this article:
    http://www.w3.org/2002/03/csslayout-howto

    I used it when I decided to stop using tables (only a year and a bit ago)

    Now I almost NEVER use tables.
     
    sickanimations, Jan 28, 2008 IP