Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Trying to figure out how rounded corners were implemented

Posted on 2011-03-06
3
Medium Priority
?
417 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 1400 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 10

Assisted Solution

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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

783 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