Edit in JSFiddle

<div class="message-box">
    <span class="close" title="Close">×</span>
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div>
.message-box {
    background-color: #ffe;
    border: solid 1px #cc3;
    border-radius: 4px;
    margin: 30px 4px;
    padding: 4px 20px;
    position: relative;
}
.message-box .close {
    background-color: #eed;
    border-radius: 50%;
    box-shadow: 1px 1px 1px #ddc inset;
    color: #660;
    cursor: pointer;
    display: inline-block;
    font-size: 12px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    text-shadow: 1px 1px 0 #fff;
    top: 4px;
    position: absolute;
    right: 4px;
    width: 16px;
}