Why you should avoid frames in your website design
04 November 2011

Web designers are occasionally confronted with clients who have antiquated conceptions of what makes a website good. The most frustrating of these is the use of frames. Frames were cool in the early days of the internet, before CSS made styling web pages so much simpler. Frames essentially tell the browser to create a divide between two parts of the page, and to load a separate page into each panel.You can do various things with frames, such as keep one part of the page static while the other part can be scrolled (useful for navigation), but all of these functions can now be handled much better by using CSS and Ajax. Here are a few reasons why you shouldn’t be using frames in your website design. After we look at these, we’ll look at a simple solution for using CSS to handle what frames used to take care of.
1) search engines struggle with framesFrames require a relationship between the various panels on your site, which can be interpreted by web browsers but not very easily by search engines. Google simply ignores content in frames when indexing a page, so you immediately hurt your search ranking.2) Frames can break a page if the user does something unexpected Many user actions will cause a frame-based layout to break. Clicking the back button, refreshing a single frame, or arriving on a framed page without the context of the other frames, can all cause one or more frames on the page to display a 404 page.3) Bookmarking framed pages becomes problematicIf a user tries to bookmark a page, the browser might not handle this in the way the user expects. They will think they’ve bookmarked your page, only to call up the bookmark later and arrive at a single frame, displayed in their browser as if it were a whole page.4) Frames can cause printing problemsAlthough many browsers provide options for printing pages in a frameset, this doesn’t mean that users will know which option to select. More often than not, printing a frameset will result in only a small element of the page being printed.5) Frames increase server load and margin for errorIf you have three frames on a page, that means you have three times as many http requests as a single page separated using CSS and HTML. If you have three pages, it also means you are three times more likely to have an error in the code of one of your pages, and it makes troubleshooting these errors more difficult.These are only some of the reasons why frames should be avoided wherever possible. I could list a dozen more, but the point is that the only reason you should need to not use frames is because there is an easier, and better-looking way to do this using CSS.CSS-Based SolutionThe following solution is an example provided by TechRepublic, but it is the type of code you will find on most modern websites.The above code simply defines two areas on your page, and when you create HTML
elements with these attributes (
Posted in: Website Design, Web Developmnet,
, for example), they will automatically divide your page nicely, according to the parameters you have defined. This is much easier than using frames and coding a separate page for each frame!
Tags:
search engines,
google,
website,
website design,
frames,
bookmarking, Posted in: Website Design, Web Developmnet,
Readers Comments
No comments have been made about this blog.
Leave a Comment
Latest Blogs
- Writing SEO-Friendly Blog Posts
Date: 05 December 2012 - Reasons Why your PageRank Go Down
Date: 03 December 2012 - Top 10 Website Marketing Tips for Small Business
Date: 30 November 2012 - Apple’s iPad Mini: Advantages for Business
Date: 28 November 2012 - SEO Extensions for Google Chrome
Date: 26 November 2012 - Protecting your identity, why start-ups should pay heed to IP law
Date: 02 November 2012 - What are the main concerns with digital marketing to the mass market?
Date: 24 October 2012 - What are the key factors to take into account when setting up a complete e-commerce website?
Date: 22 October 2012 - The importance of branding in the online business market
Date: 19 October 2012 - How does the growth of tablet PCs affect your decisions in website design?
Date: 17 October 2012
Blog Search
Blog Archives
December 2012November 2012
October 2012
September 2012
July 2012
June 2012
Blog Categories
- Advertising
- Affiliate Marketing
- Blog
- Book Review
- Branding
- Business
- Business Competition
- Business Management
- Business partners
- Business Planning
- Business Psychology
- Business Strategies
- customer Management
- Design
- Digital Marketing
- Email Marketing
- Events
- Financial Planning
- Google Places
- Information Technology
- Internet
- Internet Marketing
- Internet Security
- Investment and Funding
- IT Security
- Jobs
- Legal
- Link Building
- Market Research
- Marketing
- Mindset
- Mobile Devices
- Mobile Marketing
- niche markets
- Online Business
- Outsourcing
- Payment methods
- People Management
- Perceptions
- Personal Development
- Programming
- Project Management
- Sales
- Scam
- Search Engine Optimization
- Seminars
- Social Corporate Responsibility
- Social Media
- Social Networking
- Spam Tactics
- Startup Advice
- Strategy
- Team Management
- Technology
- Time Management
- Typography
- Use of technology
- Video Marketing
- web 2.0
- Web Developmnet
- Website
- Website Content
- Website Design
- Website Management
- Website Sales
- Website Traffic
- Wordpress



