The web hosting publication by web hosting users for web hosting users
Update a Host / Editor Login
Search
Article News Host Business Name
DIRECTORY TOP RATING EDITOR REVIEW FORUM SEARCH HOSTING SHOWCASE BECOME AN EDITOR
RECENT NEWS
The Evolution of the IT Specialist
ICANN Decides To Expand Internet
Pingdom Adds Business Monitoring Plan
Apptix Offers Hosted VoIP Products
ARTICLES
Co-location Hosting
Dedicated Servers
Domain Names
E-Commerce / Merchant Accounts / Payment Gateways
Free Web Hosting
General Web Hosting
Hosting Software & Control Panels
Managed Web Hosting
Programming
Reseller Hosting
Running a Web Hosting Business
Search Engine Optimization
Specific Web Hosting Provider or Company
Technical & Security
Useful Website Tools
Virtual Private Servers
Web Design & Content
Website Marketing Campaign
SEARCH ARTICLES
WEBHOST DIRECTORY
By Location


By Category
Application Hosting
Collocation Hosting
Dedicated Servers
Domain Name Registration
Ecommerce Hosting
Free Web Hosting
Reseller Domain Name Registration
Reseller Hosting
Shared Web Hosting
Virtual Private Servers
By Function
Windows Web hosting
PHP Web Hosting
Mysql Web Hosting
ASP Web Hosting
MS SQL Server Web Hosting
Coldfusion Web Hosting
MS FrontPage Web Hosting
Ecommerce Web Hosting
Cheap/Discount Web Hosting
Personal Web Hosting
Domain Name Web Hosting
A-Z Listing
Enter web host domain:




Articles
  You are here : Home » Articles » Technical & Security
Using CSS Positioning to Create Frame-like Pages
Submitted by Kelly Anderson on | 237 reads

There is a way to play with positioning and a CSS2 property called "overflow" to make your pages resemble frames, not just tables. If we're setting out to emulate frames, we need to determine what we want to emulate:

  • page is divided into sections

  • some sections scroll and some don't

It's easy to create a page that is divided into sections. But to make that page we created look like a framed Web page, we need to add scrolling. You can also added borders to make it look more like a framed page that hasn't had the borders turned off.

The overflow property is the way you can get the page to scroll. This property has five different styles:

  • visible - This is the default, and it indicates that the content should be displayed on the page as the browser normally would.

  • Hidden - This style indicates that any extra content that doesn't fit in the box should remain hidden.

  • Scroll - With the overflow set to scroll will add scrollbars (both vertical and horizontal) to the box property.

  • Inherit - The inherit style sets the overflow to be inherently the same as the parent element.

  • Auto - This is the style we want. It specifies that if the content will overflow the box, scrollbars should display, otherwise, they are left off.

You can put the overflow: auto; on both the left navigation element (#leftnavigation) and the main content area (#content). That ensures that if the browser window is really small, both the navigation and the content will be scrollable.



ARTICLES | NEWS | DIRECTORY | TOP REVIEWS| TOP RATINGS| FORUM | SEARCH | SHOWCASE | UPDATE A HOST
OUR EDITORS | CONTACT US | ADVERTISING | TERMS OF AGREEMENT
© Copyright 2006 , The Web Hosting Herald. All rights reserved.