Solved

Responsive site not rendering using inbuilt Django server

Posted on 2015-02-02
2
87 Views
Last Modified: 2016-02-25
Hi,
I have a problem with a template. I have copy/pasted a responsive bootstrap web page into the template I am using in Django and then added in my python code to display dynamic content.

When I then try to view the page, there is no formatting. However when I view source and copy paste that into another file and call that from my local apache server, the page loads as expected.

I have put the CSS and JS folders in the folder where the template is stored and am all out of ideas!

please can someone help

thanks
Nick
0
Comment
Question by:lz7cjc
2 Comments
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 500 total points
ID: 40584810
Most template do a lot of scripting that generally overrides all or part of the CSS that is not part of the template.  Unless the pieces are compatible there will be conflicts ranging from minor rendering errors to a complete loss of styling.

A second possibility is that the server cannot resolve the path specified for the Bootstrap files.

Trying to cobble things together where there is not absolute claim of compatibility will frequently cause problems if you are not writing your own code.

Cd&
0
 

Author Comment

by:lz7cjc
ID: 40584884
I think it might be the latter - am going to have a go at sorting it out in the morning - thanks for your help
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

Suggested Solutions

Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
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.

856 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