How can I do this using CSS and HTML?
- Limited text surrounded by a colored border
- Bordered text border minimally surrounds text
- Limited text has maximum width
- Border of text with a border does not overlap adjacent elements
When rendering, it should look something like this:

For the border, I use:
padding: 1.0em;
border-style: solid;
border-width: 2px;
background-color: #FFFFCC;
border-color:#E8E800;
CSS <p>, , . , , ( ), width . display:inline . CSS <span> <p>, , .
