jquery/jquery-mobile — Issue #3508: Header Bar loses automatic formatting if contents are wrapped in any tag (not just div)
Author: dericcrago
Created: 2012-01-31 07:12:41+00:00
State: open

The [docs](http://jquerymobile.com/test/docs/lists/docs-lists.html#/test/docs/toolbars/docs-headers.html) read:

>If you need to to create a header that doesn't follow the default configuration, simply wrap your custom styled markup in a container div inside the header container and the plugin won't apply the automatic button logic so you can write custom styles for laying out the content in your header.

but in reality, wrapping the contents in any tag (not just div) will break the automatic formatting.

see the following: http://jsbin.com/obowiw/12