Solved

Trying to figure out how rounded corners were implemented

Posted on 2011-03-06
3
373 Views
Last Modified: 2012-05-11
I'm trying to figure out how the rounded corners were implemented at this website: www.jquery.com
(like in the 2 navigation bars at the top)

When I download the html along with the .css and .js files and render the file locally, the rounded corners go away.
0
Comment
Question by:opike
  • 2
3 Comments
 
LVL 4

Expert Comment

by:florjan
ID: 35046624
Images are in http://jquery.com/files/rocker/images/ if you look at css.
0
 
LVL 4

Accepted Solution

by:
florjan earned 350 total points
ID: 35046644
So for their primary navigation you have css (image http://jquery.com/files/rocker/images/bg_primaryNav_right.gif http://jquery.com/files/rocker/images/bg_primaryNav_left.gif)
/*Primary Navigation*/
#jq-primaryNavigation {
float: right;
background: #192839 url(../images/bg_primaryNav_left.gif) left bottom no-repeat;
}

#jq-primaryNavigation ul {
float: left;
background: url(../images/bg_primaryNav_right.gif) right bottom no-repeat;
padding: 0 .8em 2px;
margin: 0;
}
#jq-primaryNavigation li {
float: left;
list-style: none;
margin: 0;
background: none;
padding: 0;
}
#jq-primaryNavigation li a {
float: left;
padding: 0 1em;
line-height: 25px;
font-size: 1.2em;
color: #D0D0D0;
text-decoration: none;
margin-bottom: 2px;
}
#jq-primaryNavigation li.jq-ui, #jq-primaryNavigation li.jq-blog {
border-right: 1px solid #0F1924;
}
#jq-primaryNavigation li.jq-current a, #jq-primaryNavigation li.jq-current a:hover {
	border-bottom: 2px solid #176092;
	background: #192839;
	margin-bottom: 0;
	cursor: default;
	color: #D0D0D0;
}
#jq-primaryNavigation li a:hover {
color: #fff;
border-bottom: 2px solid #4082ae;
margin-bottom: 0;
}

Open in new window

0
 
LVL 9

Assisted Solution

by:Tom
Tom earned 150 total points
ID: 35046783
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
The viewer will learn how to count occurrences of each item in an array.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

867 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

12 Experts available now in Live!

Get 1:1 Help Now