DwZone Forum DwZone Forum
Welcome to the DwZone-it Forum
 
  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  
    RegisterRegister -->   LoginLogin  
HTML to PDF  
DwZone Forum Index -> HTML to PDF
.
Moderators: AdministratorsModerators 
Hint: For improved responsiveness, use Internet Explorer 4 (or above) with Javascript enabled, choose 'Dynamic' from the View dropdown and hit 'Set Options' to save your changes.
New Topic Search for
 View     Per page     Messages Since 
Messages 51 to 60 of 74 (Total: 73) First |  Prev |  Next |  Last  
 Subject Author Date  
   Compilation error  
View this persons public profile  Neil Henderson   1:35 13 Aug 2015  
   Re: Compilation error  
View this persons public profile  Gianluigi   9:40 13 Aug 2015  
    Re: Compilation error  
View this persons public profile  Neil Henderson   4:55 14 Aug 2015  
 
Hi
Thanks. I've got it working now - well sort of. The page I need to convert to PDF is a qualification certificate that is formatted by a client (using my application) using div tags and css. I read in your help file that the extension supports css, but I can't get the following to work.

============================
<div id="Heading" style="position:relative; left:0px; top:200px; width:630px; font-family:Arial; font-size:40px; color:#660066; font-weight:normal; font-stretch:normal; font-style:normal; text-justify:auto; text-decoration:none; text-align:center; border:1px; border-color:#0A0000; border-style:solid; background-color: #DFDFDF; z-index:0;"><%=Heading%></div>
============================

It seems that some of the font attributes get applied in the PDF, but the critical thing for me is to get the border and positioning attributes to also work. Using the above code the border is not generated at all and neither do the positioning attributes work.

I've also tried putting the css in a linked file and in a style tag in the <head>, but it didn't work either.

Any ideas?
Regards


Neil
 
Reply to this current thread  View this persons public profile  Send Private Message
   Re: Compilation error  
View this persons public profile  Gianluigi   9:36 14 Aug 2015  
   Unable to view in browser and also create from dynamic page  
View this persons public profile  Dave Jolly   4:59 13 Feb 2015  
   Re: Unable to view in browser and also create from dynamic page  
View this persons public profile  Gianluigi   8:37 13 Feb 2015  
   Permissions error  
View this persons public profile  Ken Pollard   9:44 29 Aug 2014  
   Re: Permissions error  
View this persons public profile  Gianluigi   9:51 29 Aug 2014  
   Re: Permissions error  
View this persons public profile  Ken   10:04 29 Aug 2014  
   Re: Permissions error  
View this persons public profile  Gianluigi   11:18 29 Aug 2014  
Last Visit: Monday 21 Apr, 2025 3:36 am First |  Prev |  Next |  Last  
 Login
Username:  Password:    
Read Message Read Message   Unread message Unread message
Read message [popular] Read message [popular]   Unread message [popular] Unread message [popular]
Read message [locked] Read message [locked]   Unread message [locked] Unread message [locked]
All times are GMT-2

Jump to: