?
Solved

CSS bootstrap issue

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

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

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…

589 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