"Johannes Koch" <ko**@w3development.dewrote in message
news:45***********************@authen.yellow.readf reenews.net...
Jón Fairbairn schrieb:
>Johannes Koch <ko**@w3development.dewrites:
>>What is a speech bubble?
_______
/ \
| this is |
\ ______/
//
'
O_/
/|
|
/ \
I wondered whether the OP really meant this.
>Which looks like the sort of thing that could be done with a
border and some images covering up the corners.
and the little triangle pointing to the speaker's mouth.
Can you do backgrounds on the pseudo elements before and after?
If so you might be able to do a fixed-width, variable height speach bubble,
with square edges and rounded corners...
300px wide example...
blockquote {width: 300px; border-left: 1px solid black; border-right: 1px
solid black}
blockquote:before {width: 300px; height: 10px; background:
url("300x10pxImageOfRoundedCornersAndTopBorder.png ")}
blockquote:after {width: 300px; height: 20px; background:
url("300x20pxImageOfRoundedCornersTriangleBitAndBo ttomBorder.png")}
However, I suspect that backgrounds aren't supported in the before and after
pseudo elements. If not, these might be a good addition to a future css
spec.
Martin