Solved

Rounded corners from JQuery UI ThemeRoller

Posted on 2009-07-15
2
676 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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

In this article you'll learn how to use Ajax calls within your CodeIgniter application. To explain this, I'll illustrate how to implement a simple contact form to allow visitors to send you an email through your web site.
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
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

632 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