
Originally Posted by
vgarcia
Edit:
Thread reopened
'Pologies for that, Vinnie & Bob (I had erroneously reported this thread as a review).
Anyway, to remedy my specious injustice... works perfectly fine in Opera 7.2b, CB. :-)
Also, instead of importing different stylesheets, you could use one stylesheet and give the <body> a class. Then just use a couple o' CSS selectors, an you'd be all set across your site:
Code:
<!--In the HTML-->
<body class="guide"> <!--...or...--> <body class="reviews">
/*Then in the CSS*/
#nav li ul { display: none; } /*hides sub lists in #nav*/
.guide #guides ul, .reviews #reviews ul /*, etc*/ {display: block }
/*shows sub menus on the right page*/
I forget whether descendent selectors work properly in NN4 or not.
~~Ian
Bookmarks