Page 1 of 1

Polarion wiki: overriding default styles

Posted: Wed Aug 11, 2010 10:13 am
by jamez

Is there any trick to override wiki default styles for headings?
I want not to have a big margin before and after the text. Basically, for webpage I can do something like that (rough example):

Code: Select all

{style:type=div|border=1px solid white|background-color=white|height=20}
<blockquote style="margin: -20 0 0 0px;">
1.1 Introduction

And it seems to look okay while on the webpage, but after I export it to pdf, the block appears to have a large margin at the top, which is the trace of the margin style for heading 1.1.

Re: Polarion wiki: overriding default styles

Posted: Tue Feb 21, 2012 1:24 pm
by vinicius.zavam
old post, but...

Code: Select all

<style type="text/css">
 div.maybe { margin-top:100px; margin-left:200px; }
<div class="maybe">
 1.1 you can try this

it's not a masterpiece; I know. just hope you got the point.
of course you need to edit one or two things.