I have implemented expand/collapse functionality to a table using jQuery and I am now working on adjusting the button positioning with CSS. However, I am having trouble targeting the img element.
Take a look at this snippet from my code:
<body>
<h1>Outstanding repairs assigned to me</h1>
<table class="sortable paginated collapsible">
<thead>
</thead>
<tbody id="emergency">
<tr>
<th colspan="7">
Emergency
<img class="alignment clickable" src="../repair_system/media/minus.png" alt="Collapse this section"/>
</th>
Here is the first entry in my CSS file:
.alignment {
border:7px solid black;
}
The page is applying the 'clickable' class correctly, but it seems to be ignoring the 'alignment' class. Even Firebug does not show the 'alignment' class in the CSS styles pane.
Is there something obvious that I might have overlooked?