Style Sheets
  Home arrow Style Sheets arrow Page 2 - SEO Scrolling Frames Problem Solved
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
STYLE SHEETS

SEO Scrolling Frames Problem Solved
By: Chrysanthus Forcha
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 3
    2008-05-27

    Table of Contents:
  • SEO Scrolling Frames Problem Solved
  • The Trial Phase
  • What I Came Up With
  • Final Phase

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    SEO Scrolling Frames Problem Solved - The Trial Phase


    (Page 2 of 4 )

    With all of the above in mind, I decided to mimic (without using frames) a frame-set called "The Banner and Contents Frameset," using only one BODY element. The following diagram illustrates this:


    Fig.1. Banner and Content layout

    With this layout, the Header portion does not move. The Sidebar has the links for different pages. The Main section has scroll bars. The information in the Header and Sidebar remain in their positions while the Main section is scrolled. This is what we want; it satisfies the first purpose of having frames.

    I made the Header portion a DIV element. I gave it a width of 100% in CSS. I gave it a height of 20% in CSS. I made the Sidebar a DIV element and gave it a width of 25% and a height of 80%. Note: if the height of the header is 20%, then the height of the sidebar has to be 80% for the entire height of the window’s client area to be covered.

    I made the Main portion a DIV element and gave it a width of 75% and a height of 80%. Note: if the width of the Sidebar is 25%, then the width of the main portion has to be 75% for the entire width of the window's client area to be covered.

    I gave the DIV element for the Main portion scroll bars with the CSS property “overflow:scroll.” Note: any block level element, by default, begins with a line break and ends with a line break. So a block level element does not allow an element on its sides by default. Thus, by default, the DIV element for the main portion is supposed to appear below the DIV element for the Sidebar.

    To make these block level elements appear horizontally on the same line, side-by-side, I converted them to inline elements by giving each of them the CSS property “display:inline.” This cancels the effect of the line breaks before and after their blocks. An inline element allows other elements on its sides, so the Sidebar and Main portions can appear next to one another on the same horizontal line. I gave the three different regions borders, so that I could see the demarcations on the web page. The next page has the code I arrived at. You can try it.

    More Style Sheets Articles
    More By Chrysanthus Forcha


       · I liked it.Cheers,Suresh
       · If the myth that search engines don't index frames was ever true, it hasn't been...
       · Thanks,Chrys(Author)
     

    STYLE SHEETS ARTICLES

    - Image Replacement CSS Techniques
    - Using BlueTrip`s Success, Notice and Error C...
    - More Uses for the Thin and Caps CSS Classes ...
    - Styling Definition Lists with the BlueTrip C...
    - Styling Unordered and Ordered HTML Lists wit...
    - Using the BlueTrip CSS Framework`s Thin and ...
    - Adding Borders to Web Page Columns with Blue...
    - Introducing the BlueTrip CSS Framework
    - Using a Background Grid to Assist Web Page L...
    - Extending the Rule Of Thirds for Web Page La...
    - A Two-Column Web Page Layout Based on the Ru...
    - Using the Rule Of Thirds for Web Page Layout
    - Swapping Columns Using the Divine Ratio for ...
    - Using the Golden Ratio in Liquid Web Page De...
    - Fundamental Design Principles for Web Page L...







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek