Question: Hey. I have a tabcontrol that is bound to an observable collection. 

I've tried doing

```
var tabitem = (TabItem)this.SingleOrDefault(ti => ti.Name == tabname);
    tabitem.Focus();
    ((UserControl)tabitem.Content).Focus();

```

And it does seem like it focuses on the tabitem, but only on a btn in the header of the tabitem, not on the content. the tabitem content is another usercontrol.

**How can I change the focus to the content, so that the tab actually is selected and not just the tabheader**

I know of tabcontrol.selecteditem, but Iøm not really sure how I would implement this as the observablecollection is actually a class that i've called ObservableTabCollection, that just implements observable collection.

Answer: 
Gonzohunter nailed this, alright, but you may find it easier to just set the style on the table, assuming you are in a recent HTML version. 

I used 

```
<table style='border-collapse: collapse;'>
    ... 
</table>

```

This worked perfectly.
It seems that it's your H2 that's causing it. To fix it, set the top margin of it to zero:

```
<h2 style="margin-top: 0;"><span class="text">Welcome to the Colored Trails Game Page!</span></h2>

```