06-23-2009, 11:55 AM
|
#5 (permalink)
|
|
The Contributor
Join Date: Nov 2008
Location: Norway
Posts: 58
Thanks: 20
|
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
|
|
|