Wrox Programmer Forums
BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8
This is the forum to discuss the Wrox book Professional CodeIgniter by Thomas Myer; ISBN: 9780470282458
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 15th, 2011, 07:44 PM
Registered User
Join Date: Sep 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Why Can't I get CSS to load ?

Hi - Well day 2 and I have the whole of claudia's kids pretty well functioning inside a 2.0 code base - no mean feat !

But i can not get my default css file to load. The template. php has the base_url call to the css/default.css correct.

The new 2.0 code however confuses me in that it has an htaccess file in both system and application. The book calls for an htacess file in root as well. You can't open those inside system and application. But the one for root is given in the book and the downloadable code. The CI install advice suggests that you delete the ones for system and application. this made no difference. I checked apache to make certain that the mod_rewrite function was working ..

Bottom line I don't think it is an htaccess issue - because the header image is showing up - although product images are not.

I think it more likely something with how I am calling the css file.

What am I screwing up here ?

Many thanks vincej

Last edited by vincej; September 15th, 2011 at 08:39 PM..
Old September 15th, 2011, 10:43 PM
Registered User
Join Date: Sep 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up

Problem solved - essentially, even though I gad taken the code from the book, somehow the <?php echo base_url() ?> had gotten screwed up upon rendering. Luckily I use Dreamweaver so I coudl see the rendered live code. If you don't have dreamweaver use Firebug from firefox to see live code.

Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS - editing the css style sheet doesn't take effect immediately sayo ASP.NET 3.5 Basics 6 March 13th, 2009 02:32 AM
CSS HELP:! CSS EXPANDIBLE BACKGROUND FOR TITLE phpuser2000 CSS Cascading Style Sheets 2 December 19th, 2007 12:36 AM
Rich's new CSS book: Beginning CSS 2nd Edition jminatel BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 0 June 15th, 2007 11:55 AM
CSS surf Javascript 2 March 25th, 2004 11:36 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.