Surprisingly, a "Set top to 100px" Error


#1

Here's the code:

.nav a {
color: #5a5a5a;
font-size: 11px;
font-weight: bold;
padding: 14px 10px;
text-transform: uppercase;
}

.nav li {
display: inline;
}

.jumbotron {
background-image:url('http://goo.gl/04j7Nn');
height: 500px;
}

.jumbotron .container {
position: relative;
top: 100px;
}

.jumbotron h1 {
color: #fff;
font-size: 48px;
font-family: 'Shift', sans-serif;
font-weight: bold;
}

.jumbotron p {
font-size: 20px;
color: #fff;
}

.learn-more {
background-color: #f7f7f7;
}

.learn-more h3 {
font-family: 'Shift', sans-serif;
font-size: 18px;
font-weight: bold;
}

.learn-more a {
color: #00b0ff;
}

Additional Information:
I did add comments to this code using /*This is a comment*/ notation. Removing them and reseting the code did not fix the error. As far as I can tell my code has completed the task shifting the words down the image by 100 pixels.

Any reply is appreciated and thanks in advance.


#5

Your code looks perfect. You should try resetting your browser's zoom setting -- ctrl-0 (PC) and cmd-0 (Mac)


#6

This solution worked perfectly, thank you @albionsrefuge... I was looking for semicolons and misspellings for 20minutes...