[Plone-UI] Re: Plone, restructured text, STX and CSS
limi at plone.org
Fri Mar 23 19:05:14 UTC 2007
On Thu, 22 Mar 2007 09:38:47 -0700, Dave Turvene
<dturvene at comcast.net> wrote:
> Here's where the really weird things begin. authoring.css defines
> border-top, border-bottom, etc. declarations for .stx table th, .stx
> table td
> EXCEPT for the two missing table borders. When I add the two missing
> sides to my skin, or simply use the "border:" declaration, everything
> Why go to the trouble of writing six declaration statements for six of
> sides, when two four-sided "border:" declarations do the trick?
Historical reasons, to support the border properties in base_properties
from Plone 1.0/2.0 ;)
> The second weird thing is these two sides can also be rendered using the
> .docutils class but none of the six originally displayed sides do this.
> So I
> have several ways to patch this (for my application), but it seems very
> much a
> trial-and-error process. It also seems like there a lot of ways to do
> the same
> thing in CSS. I think Larry Wall had a hand in it.
CSS isn't the problem (well, partly of course), but the various
implementations definitely are.
Alexander Limi · http://limi.net
More information about the UI