I have been trying to get my head around this code and have failed miserably after numerous attempts. So i hope some one could please come to my rescue and tell me where i've gone wrong.
Big thanks for any help and advice.
CSS:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Placing a smiley before and after a paragraph</title>
<style>
p::before {
content: url('smiley.gif');
}
p::after {
content: url('smiley.gif');
}
</style>
</head>
<body>
<p>This is just some text.</p>
<p>This is just some more text.</p>
</body>
</html>
Big thanks for any help and advice.