Solved

CSS bootstrap issue

Posted on 2013-10-31
2
411 Views
Last Modified: 2013-10-31
Hello,
I'm trying a very simple code with bootstrap but don't understand why it is not working....

I checked that it wasn't a path error of the css.


all this running with apache 2.2.17 / Windows 2008 R2.


when I directly open the .html file from Windows, it works

when I open the file from a browser, it doesn't  (IE10, Chrome,...)


getting crazy...


the code:

<!DOCTYPE html>
<html>
    <head>
        <title>test</title>
       <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css" media="screen"/>
    </head>
    <body>
        <div class="container">
            <div class="row">
                <div class="col-md-8">Article</div>
                <div class="col-md-4 hidden-sm hidden-xs">Sidebar</div>
            </div>
        </div>
    </body>
</html>

Open in new window

0
Comment
Question by:bruno_boccara
2 Comments
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 total points
Comment Utility
Is that your only code?  It works for me in chrome http://jsbin.com/UYoXolE/1/edit?html,output

Did you upload bootstrap to your server?   Can you surf to bootstrap/css/bootstrap.min.css?
0
 

Author Comment

by:bruno_boccara
Comment Utility
your code work.

I will investigate the reason....

thank's a lot.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

772 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

10 Experts available now in Live!

Get 1:1 Help Now