Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Rounded corners from JQuery UI ThemeRoller

Posted on 2009-07-15
2
Medium Priority
?
678 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 2000 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

Linux Academy Android App Now Supports Chromecast

We have some fantastic news for our Android fans. We’re so excited to announce that the Linux Academy Android app is now available with Chromecast support. That’s right – simply download the latest update of the Linux Academy App and start casting your favorite course videos!

Question has a verified solution.

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

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
How to build a simple, quick and effective accordion menu using just 15 lines of jQuery and 2 css classes
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

722 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