Prev | Current Page 473 | Next

Craig Grannell

"The Essential Guide to CSS and HTML Web Design"

html and examine the code. The head section imports a style sheet, uses conditional
comments to link to three IE-specific style sheets (one for Internet Explorer in
general, one for Internet Explorer 6 and below, and one for Internet Explorer versions
below 6), and attaches the JavaScript file store.js. The JavaScript document is not going
to be explored fully. The reason for its inclusion at all is because Internet Explorer prior to
version 7 does not show the drop-down menu if the technique shown earlier in the book
is used. By adding the JavaScript within the linked document, behavior in all generally used
versions of Internet Explorer becomes identical.
The page??™s structure is shown in the following code block. The page is contained within a
wrapper div. Within that, there is a masthead that contains a logo div and a navContainer
div (which itself contains a navigation div). After the masthead is a content div that contains
two columns, formed from div elements with id values of sidebar and mainContent.










In the masthead, prior to the logo div, is an unordered list with an id value of pullNav.
This is used for the pull-navigation at the top right of the design (including the shopping
basket, checkout, account, and helpdesk links).


Pages:
461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485