Andrew Pietsch wrote:

    The changes I made were to the heading and paragraph margins but
    I don't know how they affected other parts of the document.  I'd
    be happy to play around with the stylesheet and send you an
    update if you'd like.


    That would be good.



Howdy, I've updated the stylesheet and tested it on ff3, safari and limited testing on IE 6/7/8 (using an online ie renderer test <http://ipinfo.info/netrenderer/index.php>)


If you get a chance, could you also test your changes work ok for the PDF, as it uses the same stylesheet.

I've basically removed trailing margins on headings and leading margins on paragraphs. This works ok, but there's a few fudges to make things look a bit better. I could have probably made these changes a bit neater if I used the '+' and ':first-child' selectors but these aren't supported in IE6 so I left them alone.


I'm not sure we care about IE6. I haven't been bothering, and have used a few selectors that don't work in IE6.

One issue is that I've had to add a negative margin to .exampleLocation to make it closer to the preceeding .example. This could be removed/fixed if the exampleLocation was contained within the .example div. I had a quick look at the xsl but it wasn't obvious how to change it at a glace so I left that alone.

Also, the .tips aren't quite working, they overlap other divs on ff and safari and don't seem to be floating right in IE. I've uploaded the guide with the altered style sheet to http://scratchpad.pietschy.com/gradle/userguide.html.

What's the best way to send you the style sheet?


I guess just email it directly to me. An svn patch file would be best, if you can.


Adam

Reply via email to