Shrink the space between rows in a report

hi all,
As the subject says, I am trying to shrink the space between rows in a report so that there is no space between rows when i print it. Does anyone know how to do this? Do I need to make a custom report template for it?

The space between rows in a report in Apex is frequently determined by the cellpadding and cellspacing attributes of the TABLE tag that makes up the innermost report area, but there also other factors that may affect the resulting area, so one has to look at the specific case and see what is determining the final result, bearing in mind that it's quite possible that two browsers will display the same thing differently.
At any rate, spacing is normally controlled by fine-tuning margin and padding properties in CSS.
As CSS stylesheets, as per their name, are applicable in cascade, you can add your own CSS stylesheet in the page header (after the built-in ones).
If you are using Firefox (with Firebug add-on installed) or Chrome or Safari, you can easily experiment with these properties and see the effects by temporarily setting or unsetting certain values and when you are satisfied, you can copy the resulting definitions into your stylesheet.
The fact you want to make some adjustments only when printing can be solved by means of the @media rule inside the stylesheet or by linking different stylesheets depending on the value of the media attribute in the LINK tag or by dynamically pointing to different stylesheets depending on whether Apex is rendering the page in printer-friendly mode or not.
Flavio
http://oraclequirks.blogspot.com

Similar Messages

  • How do you adjust space between rows?

    Hi guys. How do you adjust the space between rows. My table have no boarder between rows and no matter how I adjust the row height and cell margin. The generated report will still have the same amount of space between rows. Please help, thanks!

    I had the same problem - I was trying to insert a row solely for spacing purposes, and tried adjusting the size using table properties->row->and setting the row hieght is to "exactly". This didn't work for me. The row still rendered larger than I set the row size. So I tried I changing the font size of the row just using the toolbar, and when I did that and ran the report, the row actually rendered the size I wanted.

  • How to create a table with the spaces between the row..

    Hello,
    I am using jdev 11.1.1.6 and I need to insert the spaces between the rows. How this can be done?
    Thanks and Regards,
    Tarun Agrawal

    Hi Tarun,
    This css rule is useful to set the padding on each cell:
    .AFTableCellPadding:alias {
      padding: 10px 0px 10px 0px;
    }But if you want to insert a real space between the rows (property "cellspacing") you can do something like this:
    af|table > div + div > table {
      border-collapse: separate;
      border-spacing: 0px 5px;
    }AP

  • How to eliminate space between rows in my gallery?

    I have been trying for days to figure out how to get rid of the space between these rows. Padding and margins for the gallery as well as the rows individually have been set to zero. What are those markers (circled in red)? They seem to indicate the break between rows...
    Thanks for any help...

    There is no need to have your gallery in rows, or have each element inside it's own div with class. You can make this much cleaner by making a list - like your menu.
    Your issues were caused by the large amount of <p> tags (which have margins and padding by default) and the fact each image was wrapped in a <h2> tag (which should only be used for headings and also has a default padding and margin). Add to this the <blockquote> and you have a bit of a difficult scenario.
    I have cleaned the gallery up for you. Use the HTML below, with the CSS provided. You will need to clean up your CSS afterwards as a lot of the classes you don't need - at least for this page. Another thing is you have 3 containers for the gallery - content2, galleryframeformovie and gallery. Why? Remove the movie one and place the gallery div inside the content2 div.
    HTML
    <div id="content2"></div>
    <div id="galleryframeformovie">
      <div id="gallery">
        <ul>
          <li><a href="http://www.rhogueentertainment.com/images/2010 mm BIG/2010 big4.jpg" class="pirobox_gal1" title="4th Project Image"><img src="http://www.rhogueentertainment.com/images/2010 mm SM/2010 sm4.jpg" alt="" width="106" height="72" title="" /></a></li>
          <li><a href="http://www.rhogueentertainment.com/images/2010 mm BIG/2010 big5.jpg" class="pirobox_gal1" title="5th Project Image"><img src="http://www.rhogueentertainment.com/images/2010 mm SM/2010 sm5.jpg" alt="" width="106" height="72" title="" /></a></li>
          <li><a href="http://www.rhogueentertainment.com/images/2010 mm BIG/2010 big6.jpg" class="pirobox_gal1" title="6th Project Image"><img src="http://www.rhogueentertainment.com/images/2010 mm SM/2010 sm6.jpg" alt="" width="106" height="72" title="" /></a></li>
          <li><a href="http://www.rhogueentertainment.com/images/2010 mm BIG/2010 big2.jpg" class="pirobox_gal1" title="2nd Project Image"><img src="http://www.rhogueentertainment.com/images/2010 mm SM/2010 sm2.jpg" alt="" width="106" height="72" title="" /></a></li>
          <li><a href="http://www.rhogueentertainment.com/images/2010 mm BIG/2010 big3.jpg" class="pirobox_gal1"  title="3rd Project Image"><img src="http://www.rhogueentertainment.com/images/2010 mm SM/2010 sm3.jpg" alt="" width="106" height="72" title="" /></a></li>
            <li><a href="http://www.rhogueentertainment.com/images/2010 mm BIG/2010 big4.jpg" class="pirobox_gal1" title="4th Project Image"><img src="http://www.rhogueentertainment.com/images/2010 mm SM/2010 sm4.jpg" alt="" width="106" height="72" title="" /></a></li>
            <li><a href="http://www.rhogueentertainment.com/images/2010 mm BIG/2010 big5.jpg" class="pirobox_gal1" title="5th Project Image"><img src="http://www.rhogueentertainment.com/images/2010 mm SM/2010 sm5.jpg" alt="" width="106" height="72" title="" /></a></li>
            <li><a href="http://www.rhogueentertainment.com/images/2010 mm BIG/2010 big6.jpg" class="pirobox_gal1" title="6th Project Image"><img src="http://www.rhogueentertainment.com/images/2010 mm SM/2010 sm6.jpg" alt="" width="106" height="72" title="" /></a></li>
            <li><a href="http://www.rhogueentertainment.com/images/2010 mm BIG/2010 big2.jpg" class="pirobox_gal1" title="2nd Project Image"><img src="http://www.rhogueentertainment.com/images/2010 mm SM/2010 sm2.jpg" alt="" width="106" height="72" title="" /></a></li>
              <li><a href="http://www.rhogueentertainment.com/images/2010 mm BIG/2010 big3.jpg" class="pirobox_gal1"  title="3rd Project Image"><img src="http://www.rhogueentertainment.com/images/2010 mm SM/2010 sm3.jpg" alt="" width="106" height="72" title="" /></a></li>
          </ul>
        </div>
      </div>
    CSS
    #gallery{
              width: 560px;
              float: left;
              margin: 0;
              overflow:hidden;
              width: 560px;
              height: 400px;
              line-height: 19px;
              float: left;
              font-size: 19px;
              margin: 0;
              overflow: visible;
    #gallery ul {
              list-style-type:none;
              width:100%;
    #gallery li {
              width:  106px;
              height: 73px;
              float:left;
              color: #ffffff;
              padding: 0;
              margin:0 20px 20px 0;
    Good luck.
    Rik

  • How to eliminate the space between two analysis in the Dashboard?

    Hi All,
    I have created a Dashboard which contains 12 analyses arranged vertically. When i see the report in the dashboard section it contains some standard space between each analysis. So it looks like separate separate analysis arranged in dashboard. But i want it to look a single table is it possible by reducing the space between every analysis? If possible please let me know how to achieve this in clear manner.
    Awaiting your valuable responses.
    Thanks in Advance
    Thenmozhi

    Hi,
    Yes,try to adjust the analysis view (table/pivot/chart view )Formating option...
    FYI: try to align formating left,right,top/bottom padding and also try to reduce the width and height..
    Please refer the below
    Re: Eliminating the space between two reports in OBIEE dashboard page Section
    THanks
    Deva

  • In Adobe forms - the space between items more

    Hi Experts,
    While displaying the ouput through adobe forms , the space between the items is more.
    Please suggest me how to reduce the blanklines inbetween the items.
    Even I made the subform content as 'FLOWED' and also in context for some fields i added condition if TB_ITEM-TEXT NE space ..
    I tried by Events with scripts as,
    if ( $.rawValue eq null )
    then
    $.presence = "hidden";
    endif
    still space between the items is not reduced. Please help me out from this.
    Thanks in advance.
    Regards,
    Priya.

    Hi Ankit and Rajeev,
    Thanks for your reply.
    As ankit said,
    In print program by using read text function module  am capturing item texts. If item text exists am setting flag .
    with that flag, in adobe form in context am checking condition if flag field not equal to space then it will enter for item text field.
    even after this..item texts not exists but in the output spaces are not truncated.
    Rajeev,
    My requirement is for body page.
    My output is like this :
    In table am dispalying matnr, desciption, unit of measure , quantity , amount ....
    10 8910047 CILPENETR PC 30 20,000
         ab
         abc
    20 22447   VALVE     PC 20 30,000
    in the above format 10 and 20 are line items.
    inbetween this line items ab, abc are the two text fields which displaying material Sales text and Itercompnay text.
    if items texts not exist,
    I want output should get displayed as like this,
    10 8910047 CILPENETR PC 30 20,000
    20 22447   VALVE     PC 20 30,000
    inbetween 10 and 20 spaces should be truncated if those fields value is empty.
    In subform Pallets -> Object -> Subform, alreday its 'Flowed' and Flow direction as 'Western Text'.
    Please help me out.
    Regards,
    Priya.

  • XML in Flash Taking out the "space" between words

    I have a xml document that flash reads to pull random words
    from it. I replace the letters of the words with a character, right
    now its a minus sign (-). What I am haveing problem with is I don't
    want the spaces between the words to be replaced. I want them to be
    ignored but still have the space between the words. Example: "big
    dog" would be (--- ---). Is there a way to have flash recognize
    this "space" and not replace it with anything?
    Thanks,
    Luke

    I think the XML aspect is irrelevant here... all you want to
    do is disguise regular text right? There's probably a more
    efficient way to do this, but here's a start anyhow.

  • How to adjust the space between images in a carousel or images with horizontal scroll

    I use the next steps to create a carousel or horizontal scroll of images:
    Webcenter portal: Spaces
    Spaces
    Manage Settings
    Pages
    Create page
    Content management
    Content presenter
    Add images with Plus Icon
    It works, but between every image has a lot of space, can you tell me how to reduce the space between every image.
    My Oracle Version 11gR1 (11.1.1.3.0)
    Regards
    Tomas Reyes

    Remove line 234 in your HTML code.
    <p>& n b s p</p>
    This is a redundant line of code. Your spacing should get resolved.
    PS: I've given spaces between the tag because otherwise this forum would not display the line correctly.

  • How can I adjust the space between the dividing line of the footnotes and the continuous text?

    How can I adjust the space between the dividing line of the footnotes and the continuous text?

    I want to extend the space so the dividing line does not stuck to the normal (continuous) text in my thesis. Do you have a solution? That would be perfect. Thanks a lot!

  • How do reduce the space between the front panel and the display area

    I am trying to reduce the space between the front panel and display area but i am not able to reduce the space

    A picture would be very helpful in demonstrating what you are having trouble with.
    Lacking that, I will guess.
    VI Properties >>> Windows Size
    lets you define the minimum size of a FP window.
    Well that's my guess!
    Did I win?
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How do I reduce the space between lines in a JTextComponent?

    I've searched pretty thoroughly in this forum and can't find an answer.
    My editor displays text fine, but I'm not happy with the space between lines. Is there any way I can reduce the overall height of each line just to close the gap a little?

    Okay, I've got it worked out. I reckon it will work for my purposes although I have yet to test it in my app.
    The trick is to use a negative value for the StyleConstants.setSpaceAbove(spacing2, -5.0f);The code below shows a comparison between a text pane with default spacing values and a text pane with that -5 space above value.
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.text.*;
    public class TestTextPane extends JFrame
    public TestTextPane()
         super("Text Pane Test: LineSpacing");
    JPanel panel = new JPanel();
    setContentPane( panel );
    JTextPane textPane = new JTextPane();
    textPane.setFont( new Font("monospaced", Font.PLAIN, 12) );
    textPane.setText( "abcdefghijklmnop\none\ntwo" );
    SimpleAttributeSet spacing = new SimpleAttributeSet();
    StyleConstants.setLineSpacing(spacing, 0.0f);
    StyleConstants.setFirstLineIndent(spacing, 0.0f);
    StyleConstants.setSpaceAbove(spacing, 0.0f);
    StyleConstants.setSpaceBelow(spacing, 0.0f);
    StyleConstants.setUnderline(spacing, false);
    StyleConstants.setItalic(spacing, false);
    StyleConstants.setBold(spacing, false);
    //this line sets the attributes for the text specified by the first two arguments.
    textPane.getStyledDocument().setParagraphAttributes(0, textPane.getDocument().getLength(), spacing, true);
    JScrollPane scrollPane = new JScrollPane( textPane );
    scrollPane.setPreferredSize( new Dimension( 200, 200 ) );
    //set up the comparison
    JTextPane textPane2 = new JTextPane();
    textPane2.setFont( new Font("monospaced", Font.PLAIN, 12) );
    textPane2.setText( "abcdefghijklmnop\none\ntwo" );
    SimpleAttributeSet spacing2 = new SimpleAttributeSet();
    StyleConstants.setLineSpacing(spacing2, 0.0f);
    StyleConstants.setFirstLineIndent(spacing2, 0.0f);
    StyleConstants.setSpaceAbove(spacing2, -5.0f);
    StyleConstants.setSpaceBelow(spacing2, 0.0f);
    StyleConstants.setUnderline(spacing2, false);
    StyleConstants.setItalic(spacing2, false);
    StyleConstants.setBold(spacing2, false);
    //this line sets the attributes for the text specified by the first two arguments.
    textPane2.getStyledDocument().setParagraphAttributes(0, textPane2.getDocument().getLength(), spacing2, true);
    JScrollPane scrollPane2 = new JScrollPane( textPane2 );
    scrollPane2.setPreferredSize( new Dimension( 200, 200 ) );
    panel.setLayout(new FlowLayout());
    panel.add( scrollPane );
    panel.add( scrollPane2);
    public static void main(String[] args)
    TestTextPane frame = new TestTextPane();
    frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
    frame.pack();
    frame.setVisible(true);
    }

  • How can I change the space between a checkbox and text all at one time? I have a lot of checkboxes in my form.

    How can I change the space between a checkbox and text all at one time? I have a lot of checkboxes in my form.

    Okay, I haven't found a way to add an extra space using Find/replace, but you might be able to add some text wrap to the check boxes that will push the text away from them.
    Open Find/Replace and click the Object tab.
    Click the Specify attributes to find button to the right of the Find Object Format: field.
    Under Basic Attributes, choose Stroke and then the Black swatch (assuming the black swatch is applied to the strokes of your check boxes). If there are no other stand-alone objects in your form with a Black stroke, this should be all you need. (If there are Black strokes on your table cells, they will be ignored.)
    Click OK
    Click the Specify attributes to change button to the right of the Change Object Format: field.
    Under Basic Attributes, choose Text Wrap & Other > Text Wrap > Type: > Wrap around bounding box (2nd button from left)
    Under Offset, set a Right offset at the distance you'd like to add (I don't know what units you use, but the 3-5 points might work for your purposes...might take some trial-and-error to get it where you want)
    Click OK
    Click Change All

  • Decrease the space between the columns.....

    i have a tabular region, in that region i have 10 columns, the space between the columns have more space.
    i would like to decrease the space between the columns.
    how to do this?
    Thanks and regards,
    skud.

    help pls...

  • How to I increase the space between the top of tabs and the frame of the entire window? It was fine until Firefox updated

    Hello,
    How to I increase the space between the top of tabs and the frame of the entire window? It was fine until Firefox updated and since it updated it reduced the space. Now the space is too thin which makes it more difficult to move the open window frame around when I need to grab something from Desktop. Image attached.

    In the image, see how thin the space is right above the tab? It was much wider before Firefox update so if any know how to make it wider again, please let me know. Thank you
    ''troyable7 [[#question-1058550|said]]''
    <blockquote>
    Hello,
    How to I increase the space between the top of tabs and the frame of the entire window? It was fine until Firefox updated and since it updated it reduced the space. Now the space is too thin which makes it more difficult to move the open window frame around when I need to grab something from Desktop. Image attached.
    </blockquote>
    In the image, see how thin the space is right above the tab? It was much wider before Firefox update so if any know how to make it wider again, please let me know. Thank you

  • How can i set the space between two button?

    Hello,
    I have
    <mx:HBox>
    <mx:Button label="one" />
    <mx:Button label="two" />
    </mx:HBox>
    how can i set the distance between this two compotents?
    Thanks

    quote:
    Originally posted by:
    robinbouc77
    Hi,
    you can use horizontalGap property on HBox to change the
    space between your buttons. I think the default value is 6. You can
    also use <mx:Spacer/>, but changing the gap on HBox is
    probably the cleanest way ;)
    C U
    perfect!!! works fine

Maybe you are looking for