When I embed a piece of html code, it seems that it won't be effected by the linked css file.
<link rel="stylesheet" href="main.css" media="screen" title="no title" charset="utf-8">
<embed type="text/html" src="test.html">
<embed> acts like
<iframe> (just not so well defined, so you should use
You are loading a separate document in a sub-window.
For the CSS to apply, you need to link the CSS to that document.
Consider using a template system which you apply either server side or at build time instead. Then your single web page will consist of a single HTML document.