Click here to Skip to main content
15,888,133 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

In my asp.net website i want to display the text of some programming languages code in 'prettyprint' style, but it is not displays the text in 'prettyprint' style format completely. Please anybody tell me what is the problem behind this.

thank u..
Posted
Comments
ZurdoDev 7-Nov-13 12:31pm    
Why doesn't it look right?
Ganeshh2 8-Nov-13 0:10am    
what is the url we need to add into script tag's src element?
ZurdoDev 8-Nov-13 7:59am    
Wherever it is located. What do you mean?
Ganeshh2 8-Nov-13 23:18pm    
Hi RyanDev,

Actually in my asp.net website i used the following script tag for 'prettyprint' css style

<script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js?lang=c" ></script>

But my problem is whenever i refresh my page at that time it is working fine but if iam not refresh the page it is not working properly.. please tell me the solution..

Thank u...
ZurdoDev 9-Nov-13 10:03am    
Maybe you can put a sample on jsfiddle.net so we can see what you are talking about. Also, try other browsers to make sure it isn't a browser issue.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900