I have visualforce page render as pdf.I want to put bullet.The bullet works well in web but not display in pdf.

<apex:page controller="MyController" renderAs="pdf" applyBodyTag="false">
         ul.bulletgreen li{
             list-style-type: disc;
        <table class="grey-table" cellspacing="0" width="100%" >
                   <th>Job Function</th>
                   <th>View of Company</th>
            <tbody >
                <apex:repeat value="{!myList}" var="list" >
                            <ul class="bulletgreen">
                                <li >Test</li>
                <apex:outputPanel layout="none">
                    <tr><td colspan="4" align="center" >No Record(s) Found</td></tr>

Actually before I try for bullet, I also had try this. My objective is to get filled-circle icon, but it came out square.

.circle {
    width: 15px;
    height: 15px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border-radius: 50px;
    margin-right: 10px;
    display: inline-block;

How to render this circle filled with color in pdf? I tried bullet and css, any other ideas?


The PDF renderer has pretty poor support for certain areas of CSS, and I wouldn't be all that surprised if it didn't support list-style-type.

You may well have more luck just using putting a unicode bullet point in (the HTML &bull;should do it: •) into the start of each list item. This should still be able to get it's colour from the CSS class.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.