Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Adding CSS to Handling Views with CodeIgniter
Mar 27, 2009 @ 08:46:10

DevShed has posted the latest article in their "introduction to views in CodeIgniter" series - a look at working with the views to add more layout/design to them with CSS.

Now it’s time to continue exploring the capabilities given by CodeIgniter when it comes to handling views. Since the visual appearance of the web page mentioned above was pretty rudimentary, in this second article I’m going to improve it a bit to make it look more appealing and professional.

To add in their CSS, they update their header_view.php file to includes the styles in the template. The views for each block are then loaded via the controller - header, content and footer areas.

tagged: codeigniter handle views css tutorial header template

Link: