[Trac] Re: CSS styling to adjust appearance of lists in wiki?

2008-06-25 Thread Gary Oberbrunner

Scott Bussinger wrote:
 I came up with a way to accomplish the same effect a different way and
 it works the same in both Firefox and IE7:
 
  .wikipage p { margin-bottom:0px; }
  .wikipage ul, ol { margin-top:0px; }
 
 This removes the margin below paragraphs and above lists.

+1.  This is very nice, and doesn't seem to mess up other formatting.

-- Gary

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
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
-~--~~~~--~~--~--~---



[Trac] Re: CSS styling to adjust appearance of lists in wiki?

2008-06-23 Thread Scott Bussinger

I came up with a way to accomplish the same effect a different way and
it works the same in both Firefox and IE7:

 .wikipage p { margin-bottom:0px; }
 .wikipage ul, ol { margin-top:0px; }

This removes the margin below paragraphs and above lists. The result
is that they are butted up against each other when one comes right
after the other. It doesn't seem to be a problem anywhere else because
all the other elements still have margins on top and bottom and thus
still stay separated. I don't know that it's the best solution, but
it's nice in that it doesn't have any magic numbers in it and works
the same in both browsers.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
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
-~--~~~~--~~--~--~---