This is an archived forum post. The information may be outdated. Contact us if you have any questions.

CSS is applied From DropBox.com

Prashant40 wrote on 2014-08-19:
Sir
I'm using convertHtml method for converting html to pdf and i have upload one css file to DROPBOX.COM
with this link :

<link rel="stylesheet" type="text/css" href="https://www.dropbox.com/s/r2k2fufsn9yegr6/mystyle.css">

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>

<link rel="stylesheet" type="text/css" href="http://cdn.jsdelivr.net/jqplot/1.0.8/jquery.jqplot.css">

</head>
<body>
<%="Hello..."%>

<h1 class="jqplot-cursor-tooltip">My First JavaScript</h1>

<p>Click Date to displayyyyyyyyy current day, date, and time.</p>

<p id="demo">vjv</p>

<script>
document.getElementById("demo").innerHTML = Date();
</script>

</body>
</html>


When i'm excuting css is not applied but
when i'm using any css from cdn i.e: //cdnjs.cloudflare.com/ajax/libs/jqPlot/1.0.8/jquery.jqplot.min.css
then it is working.
Prashant40 wrote on 2014-08-19:
Sir
I'm using convertHtml method for converting html to pdf and i have upload one css file to DROPBOX.COM
with this link :

<link rel="stylesheet" type="text/css" href="https://www.dropbox.com/s/r2k2fufsn9yegr6/mystyle.css">

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>

<link rel="stylesheet" type="text/css" href="http://cdn.jsdelivr.net/jqplot/1.0.8/jquery.jqplot.css">

</head>
<body>
<%="Hello..."%>

<h1 class="jqplot-cursor-tooltip">My First JavaScript</h1>

<p>Click Date to displayyyyyyyyy current day, date, and time.</p>

<p id="demo">vjv</p>

<script>
document.getElementById("demo").innerHTML = Date();
</script>

</body>
</html>


When i'm excuting css is not applied but
when i'm using any css from cdn i.e: //cdnjs.cloudflare.com/ajax/libs/jqPlot/1.0.8/jquery.jqplot.min.css
then it is working.