Access Keys:
Skip to content (Access Key - 0)

roundrect macro

{roundrect} Macro

Examples

Hints and Tips

You can control the color of the text within round rectangles, as well as the alignment of content within the header, body and footer areas using the following css.

/* roundrect title & footer positions */

td.roundrect_title {
 text-align:left !important;
 vertical-align:top !important;
 padding-top:9px !important;
}

td.roundrect_body {
 text-align:left !important;
 vertical-align:top !important;
 color:#FFFFFF !important;
}

td.roundrect_title td, td.roundrect_title p, td.roundrect_title a, td.roundrect_title ul, td.roundrect_title li, 
td.roundrect_body td, td.roundrect_body p, td.roundrect_body a, td.roundrect_body ul, td.roundrect_body li, 
td.roundrect_title td, td.roundrect_footer p, td.roundrect_footer a, td.roundrect_footer ul, td.roundrect_footer li {
 color:#FFFFFF !important;
}

td.roundrect_footer {
 text-align:right !important;
 vertical-align:bottom !important;
 padding-bottom:6px !important;
}

Frequently Asked Questions

Toggle Sidebar

Browse

Pinned Pages

Popular Pages

Labels

confluence confluence Delete
content content Delete
formatting formatting Delete
macro macro Delete
plugin plugin Delete
wiki wiki Delete
notation notation Delete
css css Delete
panel panel Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Oct 26, 2006

    Anonymous says:

    Where do I add the CSS?

    Where do I add the CSS?

    1. Oct 27, 2006

      Guy Fraser says:

      If you're using the [Builder Theme] just add it to the CSS Custom Styles...

      If you're using the [Builder Theme] just add it to the CSS Custom Styles setting in theme config. Alternatively, you can use the style macro on the page where you have the roundrect.

  2. Nov 02, 2006

    Anonymous says:

    bgimage property would be really useful in this macro, enabling users to create ...

    bgimage property would be really useful in this macro, enabling users to create nice-looking buttons

    1. Nov 10, 2006

      Guy Fraser says:

      You can probably already do this using CSS - if you view the HTML source you'll ...

      You can probably already do this using CSS - if you view the HTML source you'll see the class names we've added to pretty much each bit of markup within the roundrect and can use that to add CSS specifying the bg image. However, the corners would likely not be round if you added a bg image to the entire table as the default is to have transparent corners rather than simply overlaying with white gifs.

  3. Aug 19, 2008

    Rafael Cerioli says:

    Why do I have problems rendering antialiased rectangles ? (Is it normal?) Tha...

    Why do I have problems rendering antialiased rectangles ? (Is it normal?)

    Thanks !

    1. Jan 27, 2009

      Juha Lindfors says:

      Something to do with it using flash to implement anti-aliasing I think. It is ju...

      Something to do with it using flash to implement anti-aliasing I think. It is just too brittle a solution to work consistently across different browser platforms.

  4. Aug 04, 2009

    Swen Koenig says:

    Hi! I'm using the roundrect macro within a {section}{column}. Neither {roundrect...

    Hi! I'm using the roundrect macro within a {section}{column}.
    Neither {roundrect}{center}Text{center}{roundrect} nor with {style}css{style} the text isn't placed correctly at the middle. With align:right the text is neither placed correctly at the right.
    The problem does not appear, when I set antialasing true. However I have many roundrects on the page, so that with antialasing the page needs several secends to load, which is to much.
    Thanks for your answers!
    Swen

Adaptavist Theme Builder Powered by Atlassian Confluence