fix css style issue and use url2pdf