Hi,
On the Sitepoint homepage the 'titles' are just headings with a background color that overlaps the border of the div. They also have a background image for the little round end to the right of the headings.
You can drag an element outside it's normal position by using a negative margin.
Something like this should work.
Code:
* { margin: 0; padding: 0; }
.coolTitle { border: 1px solid #000 }
.coolTitle h2 {
float: right;
margin-right: 10px;
margin-top: -.5em;
background: #FFF;
}
Code:
<div class="coolTitle">
<h2>Title thingo</h2>
<p>Content</p>
</div>
Bookmarks