SitePoint Sponsor

User Tag List

Results 1 to 9 of 9

Thread: frames or css

  1. #1
    SitePoint Member
    Join Date
    Apr 2005
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    frames or css

    first of all I want to thank Rachel Andrew for that wonderful book "css anthology". I was really able to produce some good
    rollover menus after reading the book.


    I want to know which is better to design the layout: frames or css ?

  2. #2
    SitePoint Addict rosem's Avatar
    Join Date
    Jul 2003
    Location
    Chicago, IL
    Posts
    302
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    CSS is the way to go. You have a lot more control, and you're not loading multiple HTML files into one window. Additionally frames are a lot harder to update and control if something needs to be changed. CSS is new to some, but it's here for a reason.

    If it was 1994 - I would say frames... :P

  3. #3
    SitePoint Addict
    Join Date
    Jun 2004
    Location
    Atlanta, GA
    Posts
    366
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Definitely CSS. You can emulate frames with CSS anyway if you want to.

  4. #4
    Mazel tov! bronze trophy kohoutek's Avatar
    Join Date
    Aug 2004
    Location
    Hamburg, Germany
    Posts
    4,248
    Mentioned
    30 Post(s)
    Tagged
    0 Thread(s)
    Hello jokwora,

    Some arguments that speak against the use of frames for me are:

    SEO (Search engine optimization)
    Search engines (not sure if this is true for all browsers), cannot translate frames properly, unless you used a few workarounds to that by adding some additional code.


    External linking is an issue. People cannot link properly to your internal links.

    When a user bookmarks a page, he'll have to bookmark the frontpage with frames, unless he displays the site outside of the frame and then gets to the page he wants. But there again, he'd not have the whole site at his disposal.
    So, it's not a very convenient way in terms of easy accessability.

    As far as I know, all your pages will have the same name in the window browser title.

    Not sure whether the key commands work for frames. I have read somewhere that these don't work either.

    Frames are also problematic for printing.

    These are just my two cents for recommending the use CSS without frames.

    Regards,

    Maleika
    Maleika E. A. | Rockatee | Twitter | Dribbble



  5. #5
    SitePoint Wizard silver trophybronze trophy Nadia P's Avatar
    Join Date
    Oct 2004
    Location
    NSW Australia
    Posts
    3,564
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Definitely CSS over frames -
    http://www.apptools.com/rants/framesevil.php

    Nadia

  6. #6
    SitePoint Member Houdas's Avatar
    Join Date
    Feb 2005
    Location
    Czech Republic
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Definitely go with CSS... you'll have much more control over your website. Proper XHTML/CSS code makes your webpage easy to modify/update, friendly to search engines (and SEO), and ready for future specifications and techniques.

  7. #7
    SitePoint Evangelist djdykes's Avatar
    Join Date
    Feb 2005
    Location
    Chester, Cheshire
    Posts
    565
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    CSS definetly, here's a couple of site i've used to pick it up...

    http://www.createwebmagic.com/css101/lesson3/?inc=part8.inc
    W3 Schools
    http://www.cssbasics.com


    hope this helps

  8. #8
    Robert Wellock silver trophybronze trophy xhtmlcoder's Avatar
    Join Date
    Apr 2002
    Location
    A Maze of Twisty Little Passages
    Posts
    6,316
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    CSS.

  9. #9
    Non-Member Egor's Avatar
    Join Date
    Jan 2004
    Location
    Melbourne, Australia
    Posts
    7,305
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    I'm not even sure the two can be compared. CSS is used for presentation/html styling, while frames are just a way to load multiple pages in one document.

    Personally I dislike frames because I hate objects fixed in one place when I scroll. Inline frames (<iframe>), hovever, can be quite useful at times.


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
  •