Solved

Rounded corners from JQuery UI ThemeRoller

Posted on 2009-07-15
2
674 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Report: Liquid Web beats Amazon, Rackspace & More

A study by performance analyst firm Cloud Spectator finds that Liquid Web beats rivals Amazon, Rackspace and DigitalOcean when it comes to website and cloud application performance.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is a Lightbox? A Lightbox is the effect you see when you click, for example, an image and the screen fades out and up pops the same image but in its full size dimensions. There are lots of Lightbox effects for jQuery. Problem is they are a…
Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer…
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)
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…
Suggested Courses

752 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