In HTML, you can not use the less than or greater than signs. You must use a special syntax to represent these reserved characters in HTML. These symbols are written as Character Entities: The less than sign(<): < The greater than sign(>): > Other Common Reserved Characters and their Character Entities: The non breaking space( ): The [...]
Continue reading...Thursday, July 2, 2009
Here is an example of using tab characters in a blog post. To get this: Column1 Column2 A Apple B Banana C Coconut You can copy and paste this: <pre> Column1 	 Column2 A 	 Apple B 	 Banana C 	 Coconut </pre> The trick to this is using the ‘<pre>’ tag and the html entity code for tab: ‘	’. Another option is to use html table tags however I find this [...]
Continue reading...Thursday, June 25, 2009
If you want your table column to not wrap in ASP.Net, you can use the NoWrap property in the tag like so: <td nowrap="nowrap"> content </td> This makes the code xhtml compliant and prevents warnings in the source view of designer in Visual Studio. Normally you could just specify a nowrap attribute by itself in plain html. [...]
Continue reading...Sunday, March 22, 2009
As simple as it is, I can never remember the syntax for defining a block of css within html. It is of course better practice to put your css in a seperate file and reference it. However, here is sample snippet to define internal style(s): PLAIN TEXT HTML: <style type="text/css"> body {color: blue} a {color: blue; font-weight:bold;} #id_comment {width: 100px;} </style> And [...]
Continue reading...
Monday, July 6, 2009
0 Comments