Thursday, April 06, 2006

redirects

For an asp use

<%
Response.Status = "301 Moved Permanently"
Response.AddHeader "Location", "http://www.example.com/yourpage.asp"
%>

If the page is html use a javascript (if mod-rewrite is not installed)

<SCRIPT LANGUAGE="JavaScript">

<!-- Script courtesy of http://www.web-source.net - Your Guide to Professional Web Site Design and Development

window.location="http://www.yourdomain.com/";

// -->

</script>

Tuesday, April 04, 2006

Tweaking the CSS

CSS Tweak

This handy little tool takes your css file and optimises it as it reduces the files size, thus making it faster to download.

Backgrounds, lists, borders and fonts are all given the shorthand treatment, whilst zero units are removed.

White space can also be removed, along with with comments, but I think this might be going a little too far

************************************************

I have found another application call clean css which also pretty much does the same thing