how to show css with html?
See original GitHub issuehi,i use
<script type="text/javascript" src="https://printjs-4de6.kxcdn.com/print.min.js"></script>
printJS({
printable: 'canvas',
type: 'html',
showModal: true,
})
and the pdf like the photo…
it doesn’t show css with li or background color,float and so on…
how can i do , can show the css stylesheet??
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
CSS Layout - The display Property - W3Schools
The display property specifies if/how an element is displayed. Every HTML element has a default display value depending on what type of element...
Read more >How to Include CSS in HTML Pages - Tutorial Republic
Tip: The type attribute of the <style> and <link> tag (i.e. type="text/css" ) defines the language of the style sheet. This attribute is...
Read more >How can i preview my html and ccs? - Codecademy
Just open the html file with any browser (double-click). Some text-editors also allow the option of running the code in a browser. And...
Read more >How to Link CSS to HTML Files in Web Development - Hostinger
Check that your files are in the same folder if you have trouble linking your CSS to HTML. Check that the file path...
Read more >CSS tutorial starting with HTML + CSS - W3C
Words within < and > are called tags and, as you can see, the document is contained within the <html> and </html> tags....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Try this:
all right… thanks a lot!