Customising the default pages in Visual Studio.NET

Thursday, 24 March 2005

When you add a new Web Form or HTML page to a project in VS.NET, it uses templates stored on your computer to generate the new page. You can customise these templates so that they contain extra code/layout info to save you having to enter everything in again each time you add a new file. eg. For VB.NET projects:

So an example of a revised HtmlPage.htm file could be:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
<title>\[!output SAFE\_ITEM\_NAME\]</title>
<meta name=vs\_defaultClientScript content="\[!output DEFAULT\_CLIENT\_SCRIPT\]">
 <meta name=vs\_targetSchema content="\[!output DEFAULT\_TARGET\_SCHEMA\]">
 <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
 <meta name=ProgId content=VisualStudio.HTML>
 <meta name=Originator content="Microsoft Visual Studio .NET 7.1">
 <meta name="Keywords" content="">
 <meta name="Description" content="">



Friday, 18 March 2005

A nifty Firefox extension: Mozilla Update :: Extensions – More Info: FoxyVoice: “Provides text-to-speech functionality by using Microsoft Speech API.”

Table Inspector - Firefox extension

Friday, 18 March 2005

Juicy Studio: Table Inspector - Firefox extension: The Table Inspector Firefox Extension reveals accessibility features added to tables. The extension reveals the following information:

Repeating HTML table headings when printing

Friday, 18 March 2005

If you are creating HTML pages with tabular data, then you are probably using tables to display that data. When you print out those tables, wouldn’t it be nice if the table heading rows (if you have any) are repeated at the top of each page? If you add these styles to your HTML, and make use of the THEAD and TBODY tags to identify the header rows and body rows of your table, then in a modern browser it will do just that!

Asterisk – a star of the future? | The Register

Thursday, 17 March 2005

[Asterisk – a star of the future? The Register](