jomla Posted September 17, 2016 Share Posted September 17, 2016 Hi at all, I have html text stored into mysql table.Text is html formatted and sometime there are image with online css.For example: <img src="image.jpg" style="width:66mm;float:left;margin:2%" alt="">Displaying the page on the screen is better and text is wrapped around image but making pdf using writeHTML() text is not wrapped but is up and down of image.What can I do please? Thankyou very much Link to comment Share on other sites More sharing options...
dsonesuk Posted September 17, 2016 Share Posted September 17, 2016 Checkout out http://stackoverflow.com/questions/3404095/tcpdf-not-render-all-css-properties, it explains html and css are different format to pdf, and unless tcpdf supports coverting float: which it appears does not, you are stuck with this problem. There is a suggested alternative though. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now