Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8583841
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T21:37:54+00:00 2026-06-11T21:37:54+00:00

See this image or here http://cl.ly/image/0a2R2V0C1y2l We have a div that uses this image

  • 0

See this image enter image description here or here http://cl.ly/image/0a2R2V0C1y2l

We have a div that uses this image as background-image

.header_background{
    display: inline-block;
    position: relative;
    top: 10px; left: 0; right: 0; bottom: 0;
    background-image: url(../img/header-back.png);
    height: 47px;
    width: 899px;
    float: right;   
}

It has rounded corners and gradient.

We will be putting in other html like text, more div elements and image buttons inside the div.

Is there a way for me not to use an image for the speech bubble but use html5/css3 techniques?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T21:37:55+00:00Added an answer on June 11, 2026 at 9:37 pm

    Check this live demo

    And here is the code:

    .header_background {
        position: relative;
        background: #FFF;
        background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxsaW5lYXJHcmFkaWVudCBpZD0iZzEiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iMCUiIHkxPSIwJSIgeDI9IjAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwLjUiIHN0b3AtY29sb3I9IiNGRkZGRkYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNDQ0NDQ0MiLz48L2xpbmVhckdyYWRpZW50PjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZzEpIiAvPjwvc3ZnPg==);
        background-image: -webkit-gradient(linear, center top, center bottom, color-stop(50%, #FFFFFF), color-stop(100%, #CCCCCC));
        background-image: -webkit-linear-gradient(top, #FFFFFF 50%, #CCCCCC 100%);
        background-image: -moz-linear-gradient(top, #FFFFFF 50%, #CCCCCC 100%);
        background-image: -ms-linear-gradient(top, #FFFFFF 50%, #CCCCCC 100%);
        background-image: -o-linear-gradient(top, #FFFFFF 50%, #CCCCCC 100%);
        background-image: linear-gradient(to bottom, #FFFFFF 50%, #CCCCCC 100%);
        border: 1px solid #CCC;
        padding:10px;
        -moz-border-radius:5px;
        -webkit-border-radius:5px;
        border-radius:5px;
    }
    .header_background:after, .header_background:before {
        right: 100%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
    }
    
    .header_background:after {
        border-color:transparent;
        border-right-color: #FFF;
        border-width: 5px;
        top: 50%;
        margin-top: -5px;
    }
    .header_background:before {
        border-color:transparent;
        border-right-color:#CCC;
        border-width: 6px;
        top: 50%;
        margin-top: -6px;
    }​
    

    I’ve used this online gradient maker tool, css arrow please and modified a little bit.


    data:image/svg+xml;base64,...etc... is an inline SVG image, encoded on base64. This will render the gradient on IE9, which doesn’t support any pure CSS3 gradient feature.

    Actually it is supported by other modern browsers (FF13+, Opera12+), but as Lea Verou reported it’s slower than pure CSS3 gradients, that’s why you still need the other declarations.


    For IE8, you can use a gradient filter:

    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#feffff', endColorstr='#eeeeee',GradientType=0 );
    

    Which is pretty straight-forward (GradientType=0 means vertical, if you change it to 1 you’ll have an horizontal gradient). The problem is that it’s supported by IE9 too! So to avoid overlapping you need to use conditional comments.

    In this specific case i suggest you … to not give a damn about IE8. It’ll just display a white background (that’s why i added background:#FFF; as the first declaration) which is totally fine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a png image, which you can see here: http://img10.imageshack.us/img10/9145/archer5.png The background of
If you look at the image package here http://golang.org/src/pkg/image/image.go you can see that the
You can see the issue here: http://jsfiddle.net/6WuVz/7/ This works in all other browser (image
See this Image below http://i46.tinypic.com/2pt6jkn.jpg This is report in SSRS as shown when it
I have a Dell Inspiron E1505 and as you can see in this image
On this page: http://www.colorz.fr/#!/work/ You can see the image scrolls into/out of the direction
If you visit this site , you will see that there is an image
I have an ImageView that contains an image. This image is getting scaled to
Please see the Image here http://www.tiikoni.com/tis/view/?id=41d9394 As shown there are two sliders on the
Please see my image here: http://www.tiikoni.com/tis/view/?id=10ca264 After placing the chart, my code starts like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.