From: Shaun M. <sh...@ae...> - 2004-08-29 19:28:58
|
On 29 Aug 2004, at 19:07, Mike Noyes wrote: > > Shaun, > I just put up another prof-of-concept. It shows descendant selectors, > cascade, and collision resolution in action. A cascade list is liked, > so > you can understand the structure I'm proposing. > > 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. Instead of <div class="menuman horizontal"> <ul> ... </ul> </div> Just use <ul class="horizontal"> ... </ul> then in the css define .horizontal ul { ... } 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. Shaun aegis design - http://www.aegisdesign.co.uk |