By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,219 Members | 1,110 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,219 IT Pros & Developers. It's quick & easy.

Tables, Frames, CSS or??

P: n/a
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
Jul 17 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a

"Richard" <rb*****@earthlink.net> wrote in message
news:YFhjc.43557$w96.3376075@attbi_s54...
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?


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
Jul 17 '05 #2

P: n/a
With total disregard for any kind of safety measures "Hayden Kirk"
<sp**@spam.com> leapt forth and uttered:
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...


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/
Jul 17 '05 #3

P: n/a
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" <rb*****@earthlink.net> wrote in message
news:YFhjc.43557$w96.3376075@attbi_s54...
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

Jul 17 '05 #4

P: n/a
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.
Jul 17 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.