Matias Capeletto wrote:
Hi!I have commited a new proof of concept version of boostbook to sandbox/doc_test/box_wrapper The idea is to modify the way docbook renders blurbs and programlisting: <div class="xxx"> .... </div> to more flexible structures. All these blocks in box_wrapper version are rendered like: <div class="xxx"> <div class="box-outer-wrapper"> <div class="box-top-left" /> <div class="box-top-right" /> <div class="box-top" /> <div class="box-inner-wrapper"> ... </div> <div class="box-bottom-left" /> <div class="box-bottom-right" /> <div class="box-bottom" /> </div> </div> This allows us to do almost anything with them.
Can't you do this already using the border-top, border-bottom etc attributes in css? Or are the results subtly different?
If you have firefox (windows or linux) or Konqueror (and I think that anything in mac too, and maybe ie7) you can see a doc_test xhtml with a css that uses the box wrappers. (please! please... read the comment at the end of this mail about internet explorer 6) http://tinyurl.com/ysk7z8 Look for admonitions, toc sections, code listings, tables. This is just a proof of concept, but I rather like the green turning blocks... specially the table :) Comments are welcome!
I like it: but with the exception of the table, I'm not keen on the slightly thicker lower border. Sorry :-(
Code blocks and admonishments rock though.
ie6 seems to dislike everything that I have done today. I do not know about the quirks of this browser. If there is someone there that wants to help me porting this docs to ie6 it will be fantastic. If someones out there knows web design (I have zero experience... no, two weeksP) and wants to see these stuff reach mainstream please jump in andhelp me. If you do not know boostbook it is ok. Just download the docs and tell me what I have to change to make it work. Both the grouped links and the box wrapper based css seems to fail there. Thanks!
Hmmm, I'm not sure I still have IE6: IE7 seems to display everything correctly but with an "errors on page" message: I've attached a screenshot of the message in case it helps track the issue down.
Opera 8 and 9 both display the document correctly BTW: although the callout graphics are misplaced in both (they appear above the line they refer to): seems like different browsers do different things here :-(
HTH, John.
<<attachment: web-shot3.png>>
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ Boost-docs mailing list [email protected] Unsubscribe and other administrative requests: https://lists.sourceforge.net/lists/listinfo/boost-docs
