# Header of rhtml template

**URL:** <https://www.ruby-forum.com/t/header-of-rhtml-template/119181>\
**Category:** Rails\
**Created:** [November 4, 2007, 3:47pm UTC](https://www.ruby-forum.com/t/header-of-rhtml-template/119181 "2007-11-04T15:47:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luigi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/73ab20/32.png) [@luigi](https://www.ruby-forum.com/u/luigi)\
**Post date:** [November 4, 2007, 3:47pm UTC](https://www.ruby-forum.com/t/header-of-rhtml-template/119181/1 "2007-11-04T15:47:14Z")

</div>

Hi,  
I wrote an rhtml view to generate the css stylesheet file for the web  
page.  
The url that I can generate is correct:  
[http://127.0.0.1:3000/stylesheets/99/style\_software/r-firewall.css](http://127.0.0.1:3000/stylesheets/99/style_software/r-firewall.css)

But the r-firewall.css file properties are file type text/html because  
in default all the view.rhtml generate text/html file.

Someone can tell me how I can change the file header and so the file  
type in text/css of a view.rhtml?

Thank you.

Luigi
