On 6/15/07, John Maddock <[EMAIL PROTECTED]> wrote: > 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 only have one div you are restricted to combinations of borders color and thickness, a box wrapper allows you to place small images (takes no time to load) to the borders in order to achieve things like the rounded blurbs. > > 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 :-( Do not worry. I have changed the .css to show it as before at http://tinyurl.com/ysk7z8 Can you check that it is OK for you now? > Code blocks and admonishments rock though. I like them too, lets see what others think. > > 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 weeks > >> P) and wants to see these stuff reach mainstream please jump in and > > help 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. Not at first glance. I am going to try to get ie7 so i can test it. > 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 :-( Yep. Callouts seems to be using a property called "relative", We can try to change that. Best regards Matias ------------------------------------------------------------------------- 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
