|
Rank: Newbie Groups: Member
Joined: 7/24/2011 Posts: 4
|
when using an unordered list <ul>, EO.PDF always renders a list style type of square instead of a disc. Even if there is another nested unordered list, the second instance is indented correctly but still uses a square instead of cycling to a circle.
<ul> <li>List item</li> <li>next list item</li> </ul>
this should produce a disc instead you get a square. even if you try <ul style='list-style-type:disc'>, you still get a square. How do I tell it to show a disc, circle etc.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
If you run the same HTML snippet through our sample (All Demos -> HTML to PDF -> Basic -> Convert HTML), you should get circle. So it must have to do with other contents in your page. For example, if you have CSS rules that set all ul's list-style-type to square, then you will have square. If you have JavaScript code that dynamically change your list's type to square, then you will have square. You can try to remove other contents in your page block by block and you should be able to find out what's causing it. The converter will not switch from circle to square for no reason.
Thanks
|
|
Rank: Newbie Groups: Member
Joined: 7/24/2011 Posts: 4
|
I have tried this as you suggested using your demo and I am still getting squares??
if I render this code directly to a browser I get discs.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
|
|
Rank: Newbie Groups: Member
Joined: 7/24/2011 Posts: 4
|
it works as expected through this demo.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
We cannot think of any reason that would make it render the marker differently on your machine other than our server may have a newer version. You can check whether you have the newest version, or try the demo on another machine to see if it has anything to do with your computer. We verified the same content through our demo application and it worked fine.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 7/24/2011 Posts: 4
|
I have updated to a newer version 3.0.44.2 from 3.0.26.2 and it now works as expected. Thanks for your prompt help.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Great. Glad that it works for you. Thanks for the update!
|
|