Professional Web Applications Themes

Newbie with more php questions - PHP Development

Hi, I used a template, and thanks to Phil, I did the first bare-bones site: http://mikey.fbhosting.com Well, I'm confused, due to the fact that I see no html, head, or body opening or closing tags in any of the html pages of the original template. I also found no css style sheet definition in the head. Is this the law, that the only css is tied to the php sheet? CSS is client-side, so it's last? I'm not sure if I understand what I'm asking. It's just that I can't seem to keep the individual pages clear of css styling, ...

  1. #1

    Default Newbie with more php questions

    Hi,
    I used a template, and thanks to Phil, I did the first bare-bones site:
    http://mikey.fbhosting.com

    Well, I'm confused, due to the fact that I see no html, head, or body
    opening or closing tags in any of the html pages of the original template.
    I also found no css style sheet definition in the head. Is this the law,
    that the only css is tied to the php sheet? CSS is client-side, so it's
    last? I'm not sure if I understand what I'm asking. It's just that I can't
    seem to keep the individual pages clear of css styling, cant seem to get it
    all on the index.php file.

    I re-did the site, all divs, no tables, all html files are full html files
    with css styling, and, well, it's got the same ole usual css conflicts with
    the div boxes and positioning, and the line height is problematic in the
    head section. Well, I'd appreciate some direction. I was just toying with
    it. It's getting there. Still does not validate with w3c, does't like
    dreamweavers doc type statement in the php.?????
    http://mikey.fbhosting.com/index01.php

    Thanks,
    Newbie Hats


    Hats Guest

  2. #2

    Default Re: Newbie with more php questions


    Hats wrote:
     

    I don't know what your source looks like, but I did a show source of
    the resultant HTML and it would NEVER validate.

    I counted at least 5 DOCTYPE lines, the first one being about 20 lines
    into the file, after some google ads. Just as many <html></html>
    blocks.

    I don't know if it is a factor of the free hosting or something you're
    doing.

    Ken

    Ken Guest

  3. #3

    Default Re: Newbie with more php questions

    I noticed that Message-ID: <net> from Hats
    contained the following:
     

    Well what's the php question?

    TBH there are so many errors I really think you need to go back to
    'Hello World". You need to study the structure of the doent and know
    exactly what Dreamweaver is doing. It's not doing you any favours at
    the moment.

    Step 1. Create content (sample content is ok)
    Step 2. Add HTML markup (just the basic)
    Step 3. Add CSS styling
    Step 4. Use PHP to make content dynamic





    (non existent groups removed)

    --
    Geoff Berrow 0110001001101100010000000110
    001101101011011001000110111101100111001011
    100110001101101111001011100111010101101011
    Geoff Guest

  4. #4

    Default Re: Newbie with more php questions

    My advice is to stop trying to be cool and using all that div bull.
    Tables work a lot better, their more compatable and more organized. I'm
    not saying to go back 10 years and use spacer gifs, etc, but if you
    couple tables with new CSS it works like a dream. Divs are retarded.

    Geoff Berrow wrote: 
    >
    >
    > Well what's the php question?
    >
    > TBH there are so many errors I really think you need to go back to
    > 'Hello World". You need to study the structure of the doent and know
    > exactly what Dreamweaver is doing. It's not doing you any favours at
    > the moment.
    >
    > Step 1. Create content (sample content is ok)
    > Step 2. Add HTML markup (just the basic)
    > Step 3. Add CSS styling
    > Step 4. Use PHP to make content dynamic
    >
    >
    >
    >
    >
    > (non existent groups removed)
    >[/ref]

    Posted Via Usenet.com Premium Usenet Newsgroup Services
    ----------------------------------------------------------
    ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
    ----------------------------------------------------------
    http://www.usenet.com
    Exyle Guest

  5. #5

    Default Re: Newbie with more php questions

    I noticed that Message-ID: <42bc749a$superfeed.net> from
    Exyle contained the following:
     

    Fine if you don't care about accessibility.

    WCAG 1.0 guideline 5:

    Tables should be used to mark up truly tabular information ("data
    tables"). Content developers should avoid using them to lay out pages
    ("layout tables"). Tables for any use also present special problems
    to users of screen readers (refer to checkpoint 10.3).

    --
    Geoff Berrow 0110001001101100010000000110
    001101101011011001000110111101100111001011
    100110001101101111001011100111010101101011
    Geoff Guest

Similar Threads

  1. Newbie questions
    By jhutchdublin in forum Coldfusion - Getting Started
    Replies: 5
    Last Post: January 5th, 04:09 PM
  2. very newbie questions about CF
    By charlieboy1 in forum Coldfusion - Getting Started
    Replies: 4
    Last Post: February 18th, 07:25 AM
  3. Two newbie questions
    By Courtney_Armbruster@adobeforums.com in forum Coldfusion - Getting Started
    Replies: 17
    Last Post: February 16th, 01:12 AM
  4. Newbie questions
    By florida_guy@adobeforums.com in forum Adobe Photoshop Elements
    Replies: 6
    Last Post: October 8th, 06:51 PM

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139