Solved

Bootstrap CSS not showing

Posted on 2014-09-08
5
379 Views
Last Modified: 2014-09-08
Hi, This is a newbie bootstrap question. I have this page: codedivasites.com/bootstrap/responsive/

Into bootstrap.css, I added:
.business-header {
height: 400px;
background: url('http://www.codedivasites.com/bootstrap/responsive/images/header.jpg') center center no-repeat scroll;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover;
}

(It's on line 14 of the css file, if you want to see it live).

The image isn't showing up, and I can't figure out why. Can you help? Thanks.
0
Comment
Question by:mel200
  • 3
  • 2
5 Comments
 
LVL 38

Accepted Solution

by:
Tom Beck earned 500 total points
ID: 40309957
All of your css is coming from bootstrap.min.css, not bootstrap.css.
0
 

Author Comment

by:mel200
ID: 40310007
oh... shoulda checked that. Thanks, let me add bootstrap.css to index.html. :(
0
 

Author Closing Comment

by:mel200
ID: 40310009
I knew it was a dumb question, just didn't know how dumb. Thanks!
0
 
LVL 38

Expert Comment

by:Tom Beck
ID: 40310306
The only dumb question is the one that's not asked (did ya close the hatch?) resulting in the loss of the submarine and all hands.

Thanks for the points.
0
 

Author Comment

by:mel200
ID: 40310327
:) Thanks, Tom. Next time I'll check that first, so lesson learned.
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 explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
The viewer will learn how to count occurrences of each item in an array.

770 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