Tag Archives: css

Add line break in PDF generated from HTML without fix width

Description: By creating a PDF from HTML if you use tables and you want the table cells to flow easily not depending on the width of a specific cell, a long text is not broken into multiple lines, but the … Continue reading

Posted in Best practices, PhP | Tagged , , , , , | Leave a comment

Create more / less button with CSS

Description: Create a button labeled “more” that changes into “Less” when area is expanded. Can be used also for other similar situations like “Expand / Contract”, “Maximize / Minimize” and so on. Solution: First, create the image, containing both sides … Continue reading

Posted in Script | Tagged | Leave a comment