Laravel Dompdf Css Not Working

<!DOCTYPE html>

<html>

<head>

<style>

/* Add your CSS styles here */

body {

  background-color: lightblue;

}

</style>

</head>

<body>

<h1>Laravel Dompdf CSS Not Working</h1>

<p>Explanation goes here…</p>

<div>

<h2>Example 1</h2>

<p>Description of the example goes here…</p>

<pre>

<?php

/* Your PHP code related to the example goes here */

?>

<div class=”example”>

<p>Example HTML content goes here…</p>

</div>

</pre>

</div>

<div>

<h2>Example 2</h2>

<p>Description of the example goes here…</p>

<pre>

<?php

/* Your PHP code related to the example goes here */

?>

<div class=”example”>

<p>Example HTML content goes here…</p>

</div>

</pre>

</div>

</body>

</html>

Same cateogry post

Leave a comment