Tables, Frames, CSS or??

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Richard

    Tables, Frames, CSS or??

    I have been working with PHP now for a few months and would like some knowledgeable advice on laying
    out PHP based web pages. I have noticed that some web pages that use PHP also use frames...like
    phpMyAdmin for instance. This gives the page easier readability when refreshing (do to PHP code) as
    the entries page does not update. But I was told many years ago by an elder that frames were not to
    be used...so what is the preferred layout for PHP pages?

    Thanks for all your advice and comments,

    Rick
  • Hayden Kirk

    #2
    Re: Tables, Frames, CSS or??


    "Richard" <rbarnes@earthl ink.net> wrote in message
    news:YFhjc.4355 7$w96.3376075@a ttbi_s54...[color=blue]
    > I have been working with PHP now for a few months and would like some[/color]
    knowledgeable advice on laying[color=blue]
    > out PHP based web pages. I have noticed that some web pages that use PHP[/color]
    also use frames...like[color=blue]
    > phpMyAdmin for instance. This gives the page easier readability when[/color]
    refreshing (do to PHP code) as[color=blue]
    > the entries page does not update. But I was told many years ago by an[/color]
    elder that frames were not to[color=blue]
    > be used...so what is the preferred layout for PHP pages?[/color]

    Well its a matetr of preference now days. It was a bad idea to use frames
    previous to 2001 because some older browsers did not support frames. There
    are still a number of text based clients and linux browsers that can still
    not render frames.

    Im about to code a mangment system and ive stoped because im deciding on
    using frames or just a single page.
    I think im going to go frames because every browser should support it now.
    Its alot easier to read, but bookmarks MAY be a problem...

    Thanks,
    Hayden Kirk


    Comment

    • Phil Roberts

      #3
      Re: Tables, Frames, CSS or??

      With total disregard for any kind of safety measures "Hayden Kirk"
      <spam@spam.co m> leapt forth and uttered:
      [color=blue]
      > Well its a matetr of preference now days. It was a bad idea to
      > use frames previous to 2001 because some older browsers did not
      > support frames. There are still a number of text based clients
      > and linux browsers that can still not render frames.
      >
      > Im about to code a mangment system and ive stoped because im
      > deciding on using frames or just a single page.
      > I think im going to go frames because every browser should
      > support it now. Its alot easier to read, but bookmarks MAY be a
      > problem...[/color]

      The modern issue with frames is not browser support. But
      accessibility.

      Frames make a site un-navigable for non-graphical browsers used by
      the visually impaired. And if a blind person can't read it then
      neither can a search engine. Which leads to low search rankings.

      Also, frames make it impossible to bookmark pages. Another
      $accessibility--; point.

      See http://www.allmyfaqs.com/faq.pl?Prob...h_using_frames for
      more information.

      Frames have their uses in

      --
      Phil Roberts | Dork Pretending To Be Hard | http://www.flatnet.net/

      Comment

      • Eric Stein

        #4
        Re: Tables, Frames, CSS or??

        Rick,
        The use of <div> tags + tables instead of frames can make a page better
        looking, easier to bookmark, and much easier to maintain. I used to use
        frames, but they became annoying to work with and I found that it's easier
        to use PHP to insert the content into a <div> and <table> structure. To see
        a good way of structuring a page this way, visit
        http://www.parabolagames.com/chem/ and view source.
        ~Eric

        My PGP public key: http://www.parabolagames.com/chem/pgppubkey.txt

        "Richard" <rbarnes@earthl ink.net> wrote in message
        news:YFhjc.4355 7$w96.3376075@a ttbi_s54...[color=blue]
        > I have been working with PHP now for a few months and would like some[/color]
        knowledgeable advice on laying[color=blue]
        > out PHP based web pages. I have noticed that some web pages that use PHP[/color]
        also use frames...like[color=blue]
        > phpMyAdmin for instance. This gives the page easier readability when[/color]
        refreshing (do to PHP code) as[color=blue]
        > the entries page does not update. But I was told many years ago by an[/color]
        elder that frames were not to[color=blue]
        > be used...so what is the preferred layout for PHP pages?
        >
        > Thanks for all your advice and comments,
        >
        > Rick[/color]


        Comment

        • while_1

          #5
          Re: Tables, Frames, CSS or??

          Search engines require some thoght too.
          If you are making pages for internal administrative
          purposes--especially pages with long, srollable chunks
          of text--then frames make the most sense (navigation in one
          frame, text in another).

          But if you want your pages to be indexed on Google, you
          might not want Google links that send potential customers
          to a navigation frame only.

          Comment

          Working...