I have no idea what exactly you are trying to do, since that’s HTML layout compared to Vaadin GUI code, and even then, it’s not valid HTML: you have “Name” inside the table element just hanging there.
Perhaps you just meant something like:
Host Name
Also, while the center tag is allowed, it’s old fashioned and is deprecated for CSS instead.
You probably have to help out as to what you are truly trying to do. Making two items stack on top of each other, for example, is done with a VerticalLayout.
And if you just want to insert HTML, you can put whatever you want into a Label, setting it’s type to XHTML, for example, but it’s really not clear to me what you are really trying to do with Vaadin.
I am able to put correct html table tags representation of this into table header,
but the header itself does not resize, so the two line table appears cut off because the table header sizes for one row
I understand your need perfectly. But I would consider adding plain, unescaped HTML inside the table header as an undesigned feature that shouldn’t be allowed in the first place, but that’s another issue.
The problem is that the CSS for the table defines the header as exactly that high, and you need to override that in a custom theme. There’s an older thread on the forum about this same thing, if I recall correctly.