<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
You'll want to look at the enclosing divs above that first - if you
edit the classes for menu and leaf it will apply to all menus that use
the menu and leaf classes.&nbsp; <br>
<br>
What you need to do beyond that depends really on what you want to do.&nbsp;
For example I have one menu that just uses css, one menu that uses the
nice_menus module which I then modified the css for, and one completely
custom menu that's written in straight php in my template and looks
like this:<br>
$trail = _menu_get_active_trail(); <br>
$mid = $trail[1];<br>
if($mid != 5){<br>
$output .= theme('menu_item', $mid);<br>
$output.= theme('menu_tree',$mid);<br>
print('&lt;ul class="leftnavmenu"&gt;');<br>
print $output;<br>
print('&lt;/ul&gt;');<br>
<br>
So there is no correct answer - it all depends on what exactly you're
trying to do.<br>
<br>
Vasileios Lourdas wrote:
<blockquote cite="mid:200709191617.45585.lourdas_v@yahoo.gr" type="cite">
  <pre wrap="">On Wednesday 19 September 2007 16:07:05 sander-martijn wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">It depends on what styling you need to do.  You can do a lot with css
and should try that route first.  You can figure out which css to add or
alter by viewing source and seeing which classes and ids are being
used.  You likely only have to edit functions if the menu is showing the
wrong elements, for example if it is showing children that you don't
want shown.  If it's presnting the correct elements but in the wrong way
you can probably fix it with css.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
OK, thanks for your suggestions. Drupal renders the code like this:

&lt;ul class="menu"&gt;
&lt;li class="leaf"&gt;&lt;a href="..."&gt;Schools&lt;/a&gt;&lt;/li&gt;
&lt;li class="leaf"&gt;&lt;a href="..."&gt;Parents&lt;/a&gt;&lt;/li&gt;
...
&lt;/ul&gt;

So, I have to edit the menu and leaf classes in css. However, if I want to go 
further, how do I have access to the menu structure through PHP?
  </pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<hr align="center" noshade="noshade" size="1" width="100%">
<p
 style="text-align: center; font-family: verdana,arial,helvetica,sans-serif; color: rgb(51, 51, 51); font-size: 10px; text-transform: lowercase; font-style: normal; font-weight: normal;"><a
 href="mailto:sander@sander-martijn.com"
 style="text-decoration: none; color: rgb(0, 0, 255); font-family: verdana,arial,helvetica,sans-serif;">sander-martijn</a><br>
interface developer | architect<br>
<a href="mailto:sander@sander-martijn.com"
 style="text-decoration: none; color: rgb(0, 0, 255); font-family: verdana,arial,helvetica,sans-serif;">sander@sander-martijn.com</a><br>
<a href="http://www.sander-martijn.com"
 style="text-decoration: none; color: rgb(0, 0, 255); font-family: verdana,arial,helvetica,sans-serif;">www.sander-martijn.com</a>
</p>
<hr align="center" noshade="noshade" size="1" width="100%"></div>
</body>
</html>