I’ve got this image: 
I want to code this image (just the bar, not the background – background can change) using html and css3. It has to be scalable in height and width. What’s the best technique to do that? Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
OK you can try this (tested in Firefox 11 only)…
HTML
CSS
It’s a bit of a hack in my opinion, but it seems to get fairly close to what you want. The only things that may be an issue are:
You can find a JSFiddle here: http://jsfiddle.net/eWj6q/13/