Archive for the ‘HTML’ Category

eveyday unicode characters in web design

July 14, 2007

» & raquo;
& # 149;
& & amp;
non-break space & nbsp;
en-dash/– & ndash;
em-dash/— & mdash;
Opening Double Quotes & ldquo;
Closing Double Quotes & rdquo;

Sources:

Unicode character finder

HTML accent entity codes

align form elements

May 16, 2007

I had a brief hard time trying to align a few form elements
, e.g., “text” input, text label and “image” input. The following code will roughly do the work:

<!– sample code–>

<form action=”" id=”srchNameFrm” onsubmit=”return false;”>
<div class=”labellit”>Find alderman by name:</div>
<input type=”text” size=”25″ height=”22″ name=”alname” id =”alNameTxt” value=”" onFocus=”toggleAddrFeedback(false);” />
<input alt=”submit” type=”image” src=”images/go_btn41×18.gif” width=”41″ height=”18″ border=”0″ align=”top” value=”Go!” />
</form>