Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

CSS bootstrap issue

Posted on 2013-10-31
2
Medium Priority
?
436 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

CSS3 Custom checkboxes This article shows how to style the checkbox form element using only CSS. Works in: Chrome, FF, Safari, Opera, IE9+ Uses modernizr.js to check for :checked pseudo class, falling back to plain old checkboxes (IE8 and bel…
This article discusses four methods for overlaying images in a container on a web page
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
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 …
Suggested Courses

618 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