title: Showing HTML page with CSS attached in a WebView
body: <p>I'm trying to load a web page in a <code>WebView</code>, but when the page is retrieved I lost all style information, maybe the CSS file is not used properly in my web view.</p>
  
  <p>For retrieving data I'm using <code>HTTP POST</code> in this way:</p>
  
  <pre><code>public void postData() throws IOException, ClientProtocolException {
      List&lt;NameValuePair&gt; nameValuePairs = new ArrayList&lt;NameValuePair&gt;();  
      nameValuePairs.add(new BasicNameValuePair("param1", "parameter1"));  
      nameValuePairs.add(new BasicNameValuePair("param2", "parameter2"));
  
      HttpClient httpclient = new DefaultHttpClient();  
      HttpPost httppost = new HttpPost(URL_STRING);  
      httppost.setEntity(new UrlEncodedFormEntity(nameValuePairs));  
  
      HttpResponse response = httpclient.execute(httppost);  
      String data = new BasicResponseHandler().handleResponse(response);
      WebView mWebView = (WebView) findViewById(R.id.wv);
      mWebView.getSettings().setJavaScriptEnabled(true);
      mWebView.loadData(data, "text/html", "utf-8");
  }
  </code></pre>
  
  <p>How can I solve this problem?</p>