Jump to content

Recommended Posts

Hmm... If you're willing to drop the corners, try using two CSS image in the background, one with the top rounded corners and the spike and one with the bottom two corners. By adding a third repeating background image with the side borders, you'd have what you're looking for, but it would involve a lot of extra code.

Link to comment
https://forums.phpfreaks.com/topic/64195-image/#findComment-320699
Share on other sites

css3 can do the arrow...

 

http://www.css3.info/preview/border-image.html when it gets here....

 

NOW you CAN do it with css2 BUT you will need a whole lot more html....

 

<div class="speechbubble">
<div class="topleft"></div>
<div class="topline"></div>
<div class="topright"></div>
<div class="content">TEXT IN HERE</div>
<div class="bottomleft"></div>
<div class="bottomright"></div>
</div>

 

u may even need another div in between bottom left and bottomright...

 

split your speechbubble image up into its relevant bits and set them to teh background of teh relevant divs...

Link to comment
https://forums.phpfreaks.com/topic/64195-image/#findComment-320722
Share on other sites

Actually, that wouldn't work well with the border he also wants-and here, fixed-width is definitely the way to go, so that you don't need so many extra tags; for example, for something like this, I'd give the header text of the bubble the top curves and pointing image, and then the footer text the bottom curves, to minimize extra CSS.

Link to comment
https://forums.phpfreaks.com/topic/64195-image/#findComment-320840
Share on other sites

actually its the only way to creat the speech bubble with just css. you can easily sort ot the borders (the onld div to have borders would be the content div and that would have just left and right - all other 'borders' would be in a background image).

Link to comment
https://forums.phpfreaks.com/topic/64195-image/#findComment-321930
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.