Hi, everybody. I'm seeing a strange styling behavior when I try to wrap
wiki headers in a !#div whose borders are visible, like if I'm putting a
background color on something, or trying to put a border around it. Try
the following code:
{{{
#!div style="background: #bcf"
== Header inside div ==
Sample text
}}}
It seems that the left margin of the page is actually a bit to the right
of where the headers start, and headers behave as if they've got a
margin-left of about -2em relative to that line. So my div ends up not
covering everything it should.
I can't see any negative margin tricks in trac.css, though, and I can't
figure out how to fudge the div to make it encompass the whole header. I
tried giving the div itself a negative margin, and that doesn't seem to
change the display in any way.
Any thoughts are welcome, either on how to fix this in the Trac code or
how to work around it in my wiki syntax. Thanks!
=-=-> Jenn Drummond // [email protected]
Project Developer, Connexions Project (cnx.org)
Rice University
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---