With the handheld version of your site now appearing with the correct dimensions, you can begin to style your navigation. Begin with the skip link and then the leftcol div navigation. Scrolling on handheld devices can be a little awkward at times, so the skip link plays an important role in how the navigation of your site works.
Handheld devices display your code in the order it is written. This, of course, doesn't mean that handheld devices don't support float. They do, but you cannot expect them to display three columns either! This means that your users need to scroll past the skip link, then the leftcol navigation, and then the rightcol div's information before they get to your main content.
This is pretty inconvenient, so I will show you how to use the skip link to rectify this problem—in the much the same way that a screen-reader user would click the skip link to access the main content area.
Complete the following series of steps:
Create a grouped selector for your navigation styles:
Create a rule for your active styles:
background-color property to the body rule.View the page in the browser (see Figure 3)
Figure 3. Opera displaying the page in handheld mode