Referencing JavaScript files from MasterPage

To avoid problems with pathes you can you “~” at the start of your ulr. But this works only for controls with runat=”server” attribute. You can add this attribute to head tag.

<head runat="server">

It works fine for css links

<link href="~/styles/style.css"
rel="stylesheet" type="text/css" />

But if you will try to add this attribte to scritp tag you will [...]

<br> tag appeared in source code using SyntaxHighlighter in blogger

I have a couple blogs on blogger, and I am using SyntaxHighlighter to display source code in my blog. But in blogger this plug-in works incorrectly, it inserts <br> tags instead of going to the next line. As a result this code is unreadable.

But this problem can be solved very easily, you need [...]