I don’t have anything really against the plethora of methods out there … but plain and simple … if you have a fixed width rounded box you DO NOT NEED ALL THAT FANCINESS
IMHO: Extra markup via JavaScript is just as bad as inserting it by hand, but sometimes you do need it … so lesser of two evils is to use JavaScript…
dbulli
There are so many ways to make rounded corners. Most either use extra markup, JavaScript to produce extra markup, or not widely supported new CSS properties.
If you are using fixed widths, then you really don’t need all that JUNK!
dbulli
da html
<blockquote class="ex1">
<p class="first-ele">...</p>
<p class="last-ele">...</p>
</blockquote>
da css
.ex1 {
width: 335px;
background-color: #CF852C;
}
.ex1 p.first-ele {
background:
transparent url(q-ex1-t.gif)
no-repeat
top left;
}
.ex1 p.last-ele {
padding: 25px 0 0 70px;
background: transparent
url(q-ex1-b.gif)
no-repeat
bottom left;
}
da images
example 1: top

example 1: bottom

example 2: top

example 2: bottom

da simple explanation
- apply the fixed width to container
- apply backround color to container
- first element apply top graphic as background
- last element apply bottom graphic as background
- go and have a drink..