Compass Computing Ltd
Pointing you in the right direction

Archive for March 1st, 2009

Validate twitter code

I needed to add twitter code into some of our web site, but then they failed to validate as HTML compliant.

I changed:

<div id="twitter_div">
<h2 class="sidebar-title">Twitter Update</h2>
<ul id="twitter_update_list"></ul>
</div> 

To:

<div id="twitter_div">
<h2>Twitter Update</h2>
<ul id="twitter_update_list"><li></li></ul>
</div> 

And all is well and it validates fine now.

Add comment March 1st, 2009


Calendar

March 2009
M T W T F S S
« Oct   Apr »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Posts by Month

Posts by Category