jQuery is the most sleek way
Design at 960px wide and forget the people with tiny monitors. They are holding back humanity![]()
What's a good way to test out how a website looks in different screen resolutions?
You could use media queries if you want to get technical though![]()
If you have a PHP server you could store the HTML within a header.php file and within each HTML page you'd just write <?php require("header.php") ?>. Whatever is displayed within header.php will be displayed in that respective page![]()
Mmm, Server Side includes. Ever used PHP?
Or CSS pseudo elements using :before and :after, never tried it myself but its possible..
<div class="header">
<%@ include file="header.jsp" %>
</div>
<div class="header">
Hello world
</div>
<!doctype html>
<head>
<link type="text/css" rel="stylesheet" href="style.css" />
<title>Example document</title>
</head>
<body>
<?php include 'header.php'; ?>
<?php include 'content.php'; ?>
<?php include 'footer.php'; ?>
</body>
</html>