SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2004
    Location
    Middleton, Manchester, England, UK
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Are frames a bad thing? Should I use CSS instead?

    I have a large intranet using frames; I use CSS for styling but still use tables for layout.

    I'm looking at making the site more accessible and using CSS for layout as well. This will mean a lot of work, but I'm OK with this.

    Whilst looking into this I read somewhere about frames being not very accessible either. I wondered about whether to remove the framesets and use CSS for that as well, but that would mean adding the banner image at the top, and the XML nav thing on the left of each and every page. Which would take AGES, especially as I've tried it on one page and got broken boxes and all sorts of problems.

    Is it really worth it? Are frames a bad thing?

  2. #2
    SitePoint Author silver trophybronze trophy

    Join Date
    Nov 2004
    Location
    Ankh-Morpork
    Posts
    12,158
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You should look into some kind of server-side includes for the common parts of all pages. If it's simple, you can get away with basic SSI. Otherwise you may have to use some more advanced server-side scripting language or -technique, such as PHP, ASP or JSP.

    Frames make it difficult for users to bookmark pages. There are many other disadvantages as well, but they may be more applicable for external sites.
    Birnam wood is come to Dunsinane

  3. #3
    SitePoint Enthusiast
    Join Date
    Nov 2004
    Location
    Middleton, Manchester, England, UK
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for that. I'm already using ASP for dynamic database content, I'll look into this.

    Cheers.

  4. #4
    SitePoint Zealot
    Join Date
    Apr 2004
    Location
    Nottingham, UK
    Posts
    118
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've just done a similar thing using an 'include' file that contains only the left hand menu and the banner. THis file is referenced in the content file and can therefore be used like this in all other content files. THis is done with the [Include] tag in lasso but I'm sure other languages like PHP must have a similar thing.
    This is the url
    http://seeds.nottingham.ac.uk/NASC/s...rch_page.lasso
    The include is placed directly after the opening <body> tag.
    This might help you.

    Graeme

  5. #5
    SitePoint Zealot
    Join Date
    Oct 2004
    Location
    Rochester, NY
    Posts
    122
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Search engines such as Google have a very hard time reading SSI's, use PHP includes instead ( I can paste the actual e-mail from Google here if you wish ).

  6. #6
    SitePoint Addict Tim_Rogovets's Avatar
    Join Date
    Aug 2003
    Location
    Odessa, Ukraine
    Posts
    221
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    IMO if the SSI are implemented correctly - Google shouldn't be troubled by SSI. It is parsed by the server, and googlebot will see only ready html pages. It won't even know that the SSI are involved.
    CEO of Grandiz! - a team based in Odessa, Ukraine.
    Designing and developing sophisticated web apps on CodeIgniter!

  7. #7
    SitePoint Addict Tim_Rogovets's Avatar
    Join Date
    Aug 2003
    Location
    Odessa, Ukraine
    Posts
    221
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I consider frames to be really bad for SEO.
    I would only use frames in some software which is not going to be crawled by google.
    CEO of Grandiz! - a team based in Odessa, Ukraine.
    Designing and developing sophisticated web apps on CodeIgniter!


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
  •