View Single Post
Old 06-23-2009, 11:55 AM   #5 (permalink)
Runar
The Contributor
 
Runar's Avatar
 
Join Date: Nov 2008
Location: Norway
Posts: 58
Thanks: 20
Runar is on a distinguished road
Default

Speaking of your HTML. I suggest you read this article about a phenomena called Div Mania.

In short, you should not overuse div elements but instead use CSS selectors (classes and ids). Take a look at my example:

Your way:
HTML Code:
<div id="hidefixtures">
    <a href="">Hide/Show</a>
</div>
The correct way:
HTML Code:
<a href="" id="hidefixtures">Hide/Show</a>
The same applies to your table. Of course, if you are planning of having more than one element inside the hidefixtures id container, then please use a div element, but not in a case like this.


Yours, Runar
Send a message via MSN to Runar
Runar is offline  
Reply With Quote
The Following User Says Thank You to Runar For This Useful Post:
Hightower (06-23-2009)