+ Reply to Thread
Page 1 of 3
1 2 3 LastLast
Results 1 to 10 of 21

Thread: Frames or tables?

  1. #1
    spoweb is offline Member spoweb is on a distinguished road
    Join Date
    Nov 2007
    Posts
    51

    Default Frames or tables?

    Which makes a better layout? Using Frames and loading about four different files or use tables and have to add a whole lot more code? I use frames, but they all load at different times. Most of the page is finished loading, but one sidebar is still white.

  2. #2
    stalker is offline Junior Member stalker is on a distinguished road
    Join Date
    Dec 2007
    Posts
    11

    Default

    i find that frames look a lot better overall than tables. Plus tables use a lot more code.

    I'd probably be able to help a bit more if i new what you were trying to code?

  3. #3
    bizzard is offline Senior Member bizzard is on a distinguished road
    Join Date
    Jan 2006
    Location
    A small remote village in Kerala, India
    Posts
    467

    Default

    I don't prefer using frames. Some browsers won't support it and the page will look very different in different resolutions and different browsers. Though tables use a lot more code, it loads much faster than the frames....
    If you use frame for a navigation bar, which must always be displayed with the page, try creating a CSS or javascript navigation menu, which reduces the code considerably.

  4. #4
    spoweb is offline Member spoweb is on a distinguished road
    Join Date
    Nov 2007
    Posts
    51

    Default

    Yeah, well actually I've stopped using both frames AND tables. Well, I still use tables a little...Now I'm using layouts with full CSS. No tables. No frames. All CSS. I do notice though that the page looks slightly different between IE and Firefox, but still looks ok. Thanks for the replies!

  5. #5
    wired076 is offline Senior Member wired076 is on a distinguished road
    Join Date
    Nov 2005
    Location
    Wired
    Posts
    362

    Default

    I agree with spoweb it is best practice to now use pure css to format html pages and gives you much more flexibility. It takes a little time to get used to using css properly but if used correctly makes a lot less code in the long run as you can create external css files that if you change the css file will change the layout of the whole site instead of having to reduplicate all the code throughout the site and then change the code on all the pages when you make an edit.

  6. #6
    buyingit is offline Member buyingit is on a distinguished road
    Join Date
    Dec 2007
    Posts
    58

    Default

    I WILL ALWAYS RECOMMEND
    use php include function & use tables for loading pages

    this will load at the sametime & also be a better & faster option for you

    try it out
    all the best

  7. #7
    snoop1990 is offline Senior Member snoop1990 is on a distinguished road
    Join Date
    Dec 2007
    Location
    Germany (in a small town)
    Posts
    357

    Default

    Quote Originally Posted by buyingit
    I WILL ALWAYS RECOMMEND
    use php include function & use tables for loading pages
    Me too ! Because you do not need frames which might cause incompatibility errors and you have less code as well as better options for interactivity.

    At the moment I use ruby on rails and want to integrate AJAX to be even faster.

  8. #8
    wired076 is offline Senior Member wired076 is on a distinguished road
    Join Date
    Nov 2005
    Location
    Wired
    Posts
    362

    Default

    I would never recommend using frames either.

    Tables are a good starter for new users but using css is the best way to format your site and tell everything where it should be located.

  9. #9
    snoop1990 is offline Senior Member snoop1990 is on a distinguished road
    Join Date
    Dec 2007
    Location
    Germany (in a small town)
    Posts
    357

    Default

    Quote Originally Posted by wired076
    using css is the best way to format your site
    I tried learned css in the past two weeks and have to say it is much more comfortable then tables.

    The reason are:
    -no more bothering with colspan and rowspan issues
    -each cell can have its own dimensions
    -you can overlay parts (which is impossible with tables)

    reasons against:
    -I do not know any wysiwyg editor for css based designs (but I do not think a wysiwyg editor is the right choice for professional developer)

    So I can only recommend to use css based layouts for your sites.

  10. #10
    bizzard is offline Senior Member bizzard is on a distinguished road
    Join Date
    Jan 2006
    Location
    A small remote village in Kerala, India
    Posts
    467

    Default

    I have also shifted to php along with CSS. Its much better than using frames. Creating different pages for each part of the site and including it to a single page with <? include ''?> code looks so simple.

+ Reply to Thread
Page 1 of 3
1 2 3 LastLast

Similar Threads

  1. Having problems with HTML tables?
    By ieric23 in forum HTML/CSS/DHTML
    Replies: 0
    Last Post: 01-24-2010, 07:35 AM
  2. Having problems with HTML tables?
    By ieric23 in forum HTML/CSS/DHTML
    Replies: 1
    Last Post: 01-24-2010, 05:38 AM
  3. how do i move div tables in css?
    By realafghani in forum HTML/CSS/DHTML
    Replies: 0
    Last Post: 01-12-2010, 03:38 AM
  4. Replies: 0
    Last Post: 01-10-2010, 11:11 PM
  5. Fedora 10, Yum install and ip tables question?
    By yipyap in forum Linux, BSD, other *nixes & Open Source Software
    Replies: 0
    Last Post: 12-28-2009, 10:37 PM

Posting Permissions

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