Reading and writing the html file

Dear all,
the below problem makes me worse.
actually i read html file.
@file_path = d:/temp/History/regst.html
@content = File.read ("#@file_path}")
i dispaly in my view like <%=@content%>
this causes style issues in my page …
why waht is the problem.
Pls help me to sort the issues