please check this example which I am trying to achieve..

the title is automatically stretched when there is more text.. it can be seen here
http://demo.gavick.com/joomla15/mar2009/
cheers
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.
Do you want the background part with the rounded angled ends done entirely in CSS? It isn’t easy, but it can be done, in the same manner as these tabs (check the dabblet). The “strechable” aspect is the easy part, as it’s handled by just one line of code (
display:inline-block;) on the containingdiv.Done with just CSS, absolutely no images http://dabblet.com/gist/3166401
HTML structure is simple:
The CSS: