Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function makePage($colLeft,$colMid,$colRight) {
- echo "<!DOCTYPE html>".
- "<html>".
- "<head><link href=\"style.css\" rel=\"stylesheet\" />".
- "<title>Titre</title>".
- "</head>".
- "<body>".
- "<div id='header' style='width:800px; height:250px; border:1px solid black; border-radius:5px; box-shadow:2px 2px 4px #AAA; margin:auto;'>Bannière</div>".
- "<div id='colLeft' style='float:left; width:200px; height:500px; border:1px solid black; '>$colLeft</div>".
- "<div id='colMid' style='width:400px; border:1px solid black; margin:auto;'>$colMid</div>".
- "<div id='colRight' style='float:right; width:200px; height:500px; border:1px solid black;'>$colRight</div>".
- "</body></html>";
- }
- makePage("gauche", "<a href='q5.php'>Question 5</a>", "droite");
- ?>
Add Comment
Please, Sign In to add comment