August 16, 2011
@ 12:35 PM
http://fsymbols.com/computer/trademark/#windows

hold alt and input 0153 you will got ™
0174 you will got ®

to put/replace them in string:
str.Replace("®","\u00AE").Replace("&#174", "\u00AE").
                    Replace("™", "\u2122")


some time you need use <sup>&reg;</sup> in html


 
Categories: WebDesign

May 28, 2010
@ 10:21 PM

Google Font API Test!

It make the page different

it is easy to use.


 
Categories: WebDesign

September 8, 2009
@ 11:39 PM
Check this link:
http://jigsaw.w3.org/css-validator/validator?uri=http://www.liuxue123.com

It can help to find many of you css errors.

but not all errors report by it need be fix.
upper link got two errors:
171 #mainmenu li Property zoom doesn't exist : 1
183 #mainmenu a Value Error : background-color steelblue is not a color value : steelblue

"Zoom" is working for IE and it can fixed the missing border in IE6.
"steelblue" is a well used web color. it works fine in IE and fireworks.


There is also a xhtml validator offered by W3 site,
add the links to your web site, so you can validator your page by one click:

<a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>
<a href="http://validator.w3.org/check/referer">XHTML</a>


 
Categories: WebDesign

June 30, 2009
@ 11:47 AM

When using CSS in you web page, the CSS looks always want you to give out the exactly height and width  to each of the block in you pages. But in a dynamic web site, the content is loaded from database and can be updated by user again and again,  we will never know what the content's width and height will be.  So control the block's height change don't break the page's view are a very important task for a web developer.

and another challenge thing  is make you page looks always good in different browsers.

The worse thing is if  your css  didn't define some of  values, it will looks different in different browsers, see below image, my test page have different look in IE6,Firefox, and Chrome:

To fix it is very simple, just need add one line in the Css for the parent block

overflow:auto;


Some discussions are here http://bbs.et8.net/bbs/showthread.php?t=973769


 
Categories: WebDesign