1

Does anyone knows how to round off buttons in the jquery mobile css? I am using the this css to style my buttons and need to round off the corners. Someone has a clue how to do it? If you need any more information, just ask for it :)

Regards, BG

2 Answers 2

1
.css(
      {'-moz-border-radius': '20px',
      '-webkit-border-radius': '20px',
      '-khtml-border-radius': '20px',
      'border-radius': '20px'}
);

Also for IE Issues you can use this style in css behavior: url(/css/border-radius.htc);

The above solutions is cross browser compatible.

Reference website is as follows: http://jonraasch.com/blog/css-rounded-corners-in-all-browsers

Sign up to request clarification or add additional context in comments.

Comments

1

Use the following: .css("border-radius", "10px");

Note that this uses css3, which is not supported by IE versions older than 9 and IE9 itself doesn't fully support css3.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.