[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

CSS bootstrap issue

Posted on 2013-10-31
2
Medium Priority
?
439 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 54

Accepted Solution

by:
Scott Fell,  EE MVE earned 2000 total points
ID: 39614020
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
ID: 39614045
your code work.

I will investigate the reason....

thank's a lot.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Suggested Courses
Course of the Month19 days, 2 hours left to enroll

834 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