Creating an Interactive Sidebar Menu
For this example, you create an interactive sidebar menu. To create this example, reopen cramer-consult.html from your working folder and resave it as cramer-consult3.html.
To get started, add the following codes at the top of your example file:
<body> <a name="menu"></a> <h1>Cramer Computer Consultants</h1> <div class="side"> <p> <a href="#part1">Hardware</a> <a href="#part2">Software</a> <a href="#part3">Networking</a> <a href="#part4">Databases</a> <a href="#part5">Conversion</a> </p> </div> <div class="main"> <p>Beginning in 1984, CCC has provided comprehensive computer consulting services unmatched by any of its competitors to government, educational, and business customers, including hardware and software ...
Get Cascading Style Sheets (CSS) by Example now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.