<div class="gmail_quote">On Fri, Feb 5, 2010 at 9:23 PM, Timothy Allen <span dir="ltr">&lt;<a href="mailto:screwtape@froup.com">screwtape@froup.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Fri, 5 Feb 2010 13:19:00 -0600<br>
<div class="im">Kevin Horn &lt;<a href="mailto:kevin.horn@gmail.com">kevin.horn@gmail.com</a>&gt; wrote:<br>
</div><div class="im">&gt; &gt; I&#39;ll see if I can find/make time to have a look at the CSS.<br>
&gt;<br>
&gt; That would be really great.  There are a few things that are driving<br>
&gt; me bonkers.  For example: the prev/next/index links on the right hand<br>
&gt; side of the gray navbar are 1 freakin&#39; pixel lower than the<br>
&gt; &quot;breadcrumb&quot; links on the left hand side of the same navbar () at<br>
&gt; least on this machine), and I have no idea why.<br>
<br>
</div>After spending a few minutes poking about with Firebug, the reason<br>
becomes clear:<br>
<br>
 - In twistedtrac.css line 38, the navbar list items are set to<br>
   &quot;display: inline&quot;, which makes them layout like &quot;&lt;span&gt;&quot; and stack<br>
   up nicely on the left, but also makes them ignore certain vertical<br>
   adjustments like margin and padding.<br>
 - In twistedtrac.css line 42, the navbar list items on the right are<br>
   set to &quot;float: right&quot;, which makes them stack up nicely on the right<br>
   but also happens to make them respond to margin and padding again.<br>
 - In trac.css line 179, the navbar list items are set to &quot;padding:<br>
   0.25em 0&quot;, giving them vertical padding. This is ignored by the<br>
   inline list items on the left, but respected by the floated list<br>
   items on the right.<br></blockquote><div><br>Brilliant!<br><br>It may only have taken you a few minutes, but it would have taken me...considerably longer. :)<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


I haven&#39;t studied the CSS of the main Twisted site, so I don&#39;t know how<br>
they get around it there.<br></blockquote><div><br>On the main twisted site, they don&#39;t have anything on the left...not sure how the Sphinx templates handle it though...<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

One easy way around it for the docs might be to change &quot;display:<br>
inline&quot; to &quot;float: left&quot;, which also makes them stack up on the left,<br>
and behave consistently with the ones on the right.<br>
<div><div></div><div class="h5"><br></div></div></blockquote></div><br>Actually that jacks up the height on the navbar completely (at least for me).<br><br>Overriding the padding in twistedtrac.css seems to work though, so I think that&#39;s what I&#39;ll go with.<br>
<br>
Thanks for the help!  <br><br>Kevin Horn<br>