I would recommend using CSS3, HTML5, with the Modernizr plugin and the latest version of JQuery (currently 1.7.2 at time of writing). Or at the very least, XHTML 1.0 Transitional.
A good starting place for scratch-built sites is http://html5boilerplate.com/
It comes with a huge amount of features for cross-browser compatibility and it's set up ready to go, there's a good video on the home page that explains everything that's in it.
The main problem with the way you code your sites is using tables as a layout guide. Tables in HTML should only be used for tabular data. Search engines find it difficult to read the contents of tables and their use for simply positioning things on the page is highly discouraged nowadays. Unfortunately, in 1996 it was pretty much the only way to have a consistent layout for your pages, so it was taught pretty much uniformly across the board. Since then, we've have realised their massive mistake and most Web Developers nowadays will push towards eliminating such sites and remastering them in HTML5 or XHTML 1.0, with div tags and CSS styling.
Also, tables create vast amounts of unneeded code, meaning larger page sizes (slower refresh rates) and it can be very difficult to work out what's actually going on on a page from it's source code because of the lack of flow. On top of that, CSS is harder to manage and JQuery/Javascript scripts run slower and can be hugely more difficult to manage because of the extra markup and unnecessary tags.
For a validator, the one you're using is fine. It's industry standard; but if you develop with an IDE, such as Visual Studio 2010 or Netbeans, they have their own in-built validators when in debug mode. They adhere to the schema you choose, based on the DOCTYPE of the page, or CSS version.
For your problem here, you can do the following:
In the head:
HTML Code:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
$('.thumbnail').each(function () {
$(this).hover(function () {
$(this).children('.tooltip').fadeIn('slow');
}, function () {
$(this).children('.tooltip').fadeOut('fast');
});
});
</script>
Then each image link would be:
HTML Code:
<div class="thumbnail" >
<a title="2012 Dizzy Dean World Series Team" rel="thumbnail" href="/graphics/photos/2012-WorldSeriesTeam.jpg">
<img alt="2012 Dizzy Dean World Series Team" src="/graphics/photos/2012-WorldSeriesTeam_th.jpg">
</a>
<p class="caption">
2012 Dizzy Dean World Series Team</p>
<div class="tooltip" style="display: none;">
<p>
<b>Messer Park 14U World Series Team</b></p>
<p>
<b>Back Row:</b> Coach Joe Calabrese; Benjamin Wynn; Landon Ortwein; Bailey Lee;
Cole Newcomb; Jerry Harrell</p>
<p>
<b>Middle Row:</b> Coach Mike Sposato; Jordan Manning; Caleb Davie; James Dodson;
Gage Hevener; Manager Britt Wynn</p>
<p>
<b>Front Row:</b>
Carmen Calabrese; Michael Sposato; David Sposato; Robert Batson; Hunter Truman;
Coach Chris Dodson
</div>
</div>
Then all you need to do is style .tooltip to how you want it. That's one way of doing it anyway.
Bookmarks