From: Mike N. <mh...@us...> - 2004-08-29 20:14:52
|
On Sun, 2004-08-29 at 12:29, Shaun Murray wrote: > On 29 Aug 2004, at 19:07, Mike Noyes wrote: > > > > http://phpwebsite-comm.sourceforge.net/temp/ > > > > Any comments and/or suggestions are welcome. > > That works although I don't see why you hang everything off a div, it's > unnecessary and introduces an arbitrary structure into a document that > need not be there. Shawn, I think you missed the global div styles for menuman. Extending menuman styles to use variants (vertical, horizontal, tabbed, rollover, etc.) required the double class. At least that was the only reasonable solution I found. > Instead of > > <div class="menuman horizontal"> > <ul> > ... > </ul> > </div> > > Just use > > <ul class="horizontal"> > ... > </ul> > > then in the css define > > .horizontal ul { ... } A global class name of 'horizontal' isn't very descriptive, and can easily cause a conflict that is resolved improperly. I believe specificity is very important when dealing with multiple stylesheets in this proposal. Note the overrides in persistant.css, and the override in pagemaster.css. > If you want special treatment in a particular mod, then enclose the > content in a <div class="menuman"> </div> in the template, and the > mod's stylesheet will cascade the specifics. I'm still learning things about cascade, so I might well be wrong. -- Mike Noyes <mhnoyes at users.sourceforge.net> http://sourceforge.net/users/mhnoyes/ SF.net Projects: ffl, leaf, phpwebsite, phpwebsite-comm, sitedocs |