Next in thread → Next in month →

Re: [docbook-apps] Slide Float for Images and Text

From
"Cob Rtayton"
Date
2006-07-25T15:53:15+00:00
ID
00f201c6b002$6bcdcb30$6400a8c0@totoro
Thread
Re: [docbook-apps] Slide Float for Images and Text
Hi Ray,

I know that this works in HTML:

 

<figure floatstyle="right">

or

<informalfigure 
floatstyle="right">

 

It should also work with example, informalexample, 
table, informaltable.

 

But a sidebar in HTML can still be made to float if 
you use CSS.  The sidebar content is output into a div with 
class="sidebar", so you could make the CSS work using a float: right CSS 
property.

 

Bob Stayton
Sagehill Enterprises
DocBook Consulting


 

 

  
----- Original Message ----- 

  
From: 
  Miller, Ray 
  (Centech) 

  
To: DocBook Apps 

  
Sent: Sunday, July 23, 2006 12:01 
PM

  
Subject: RE: [docbook-apps] Slide Float 
  for Images and Text

  

  

  

  
>> 
  I cut and pasted the example in 
  "Sidebar example" (under "A sidebar as a side float") from my book into a 
  DocBook 5 test file and processed with Saxon 6.5.5, xsl-1.70.1, and XEP 
  4.6.  The sidebar example worked for me.  I wasn't in Oxygen, and I 
  wasn't using a customization layer, though.  Did you include the 
  processing instruction to designate a left float? 

  
 

  
Sidebar floats have not been 
  implemented in HTML yet.  In the HTML stylesheet, only formal and 
  informalobjects (figure, informalfigure, etc.)  with a 
  floatstyle="left|right" are implemented. <<

  
 

  
 

  
Attempted sidebar 
  floats with the aforementioned Sidebar example script and a nested 
  informalfigure; rendered correctly in PDF transformations. HTML transformation 
  resulted in a right-justified image and no text to the left. I remain unclear 
  on HTML; no side float works with HTML or only informal objects? If the 
  latter, can’t get my HTML to transform correctly.

  
 

  
Ray
Next in thread → Next in month →