i’m doing a web app for iPhone, i’m having some troubles with borders.
To simplify things i have a background image for body, a box with rounded corners which have some elements inside and a title, and that’s where problems begins as i want my title to be on the top border of my box without having the borderline behind it.
Here is a screenshot :

I can’t see any solutions to render it properly, some of you have any guess ?
It would be much appreciated
From what I can gather, it looks like you should be using the
fieldsetelement (as you are “grouping” form elements together), which conveniently also looks the way you want it to:Styling is simple. Align the
legendtext and style thefieldsetborder using CSS:For a live example, see this jsFiddle demo.