Solved

Rounded corners from JQuery UI ThemeRoller

Posted on 2009-07-15
2
668 Views
Last Modified: 2012-05-07
I'm using a theme from the JQuery ThemeRoller here:  http://jqueryui.com/themeroller/#themeGallery

The accordion and such have rounded corners that seem to work quite well across all browsers and I would like to just leverage that throughout a site I'm working on.

I took a quick look through the CSS but didn't find how the corners were done.

Anyone know where that class is?

Thanks,
MH
0
Comment
Question by:MHenry
2 Comments
 
LVL 39

Accepted Solution

by:
Roger Baklund earned 500 total points
ID: 24864646
The class named "ui-corner-all" defines the rounded corners. You can make a div with rounded corners like this:
<div class="ui-widget-content ui-corner-all" style="width:10em">

  This box have rounded corners.

</div>

Open in new window

0
 
LVL 7

Author Comment

by:MHenry
ID: 24870178
Believe it or not, I asked the wrong question. I meant to ask about the background, not the corners.

Oh well, keep your eyes out for the question on backgrounds...

But I did get something from your answer anyway. It wasn't working when I tried it because I thought it was UL as in unorderd list. But I can see from your answer it's uI. That should help!

Thanks,
MH
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Introduction Chart.js, used properly, can visually add a difference to your charting applications. It engages your visitors and allows them to interact with data they otherwise wouldn't be able to without expensive and complicated systems. For this…
Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now