# Text looks formatted in Browser but not when printing

**URL:** https://forum.kirupa.com/t/text-looks-formatted-in-browser-but-not-when-printing/235392
**Category:** Uncategorized
**Created:** [August 10, 2007, 5:09pm UTC](https://forum.kirupa.com/t/text-looks-formatted-in-browser-but-not-when-printing/235392 "2007-08-10T17:09:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![killahert](https://avatars.discourse-cdn.com/v4/letter/k/6f9a4e/32.png) [@killahert](https://forum.kirupa.com/u/killahert)
#### Post date: [August 10, 2007, 5:09pm UTC](https://forum.kirupa.com/t/text-looks-formatted-in-browser-but-not-when-printing/235392/1 "2007-08-10T17:09:23Z")

</div>

hi

my question is that the text looks formated with css in a browser however when printing it prints without formatting any ideas why?

is there something wrong?

```auto

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-language" content="en-US" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>About</title>

<link href="css.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
 
  <?
    $content = file_get_contents('about.txt');
    $content = substr($content, 8);
    echo $content;
    ?> 
    
   
</body>
</html>

```

[here is my project](http://www.daineda.com/kathy)  
click to see the print preview aand will notice that the text is not formatted.

thanks pps
