Respond with HTML (AResponse.LoadFromFile) CSS missed lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- Middlecope · 2014-10-31 13:10 Linux - Apache - fcl-web - cgi I made a cgi program and as response I like to show a HTML document. Here is the Request answer procedure: procedure TGenees_show.geef_lijstRequest(Sender: TObject; ARequest: TRequest;   AResponse: TResponse; var Handled: Boolean); begin   AResponse.ContentType := 'text/html;charset=utf-8';   AResponse.Contents.LoadFromFile(ExtractFilePath(ParamStr(0)) + 'public_html/tekst.html');     Handled:= TRUE; end; In tekst.html I have a link to the css files (placed in the same directory as the html)         Unfortunately the HTML is displayed in the FieFox browser without style. How can I get the browser to use the stylesheet? ---------------------------------------------------------------------- Middlecope · 2014-10-31 13:34 I found an un-elegant solution by adding the stylesheets between