[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: role for para
I have been able to use "role" on para tag for elements that I don't want printed in html (when the user prints in their browser) using css ( display: none !important;) eg, some parts of the header or footer.
Is it possible to do something similar for FO and HTML.
Something similar to use.role.for.mediaobject where you can tag up a different para depending on the output.
My problem is floating images.
They work perfect for HTML output but I have to use a table in FO to get the same effect. However the HTML output using the table doesn't scale well when you change the browser or font size. It leaves a gap at the bottom of the paragraph.
I wonder if it is feasible/sensible to set the para or section role for FO or HTML like we have for mediaobjects so that I can write a para with floats for html and another with table for FO?
Sorry if I'm being a bit convoluted over what may be fairly simple.
Thanks for your help,