Solved

Bootstrap CSS not showing

Posted on 2014-09-08
5
357 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

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.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn how to dynamically set the form action using jQuery.

760 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

18 Experts available now in Live!

Get 1:1 Help Now