PDA

View Full Version : Header php including & external CSS linking



A.J. Angel
04-02-2008, 07:34 PM
Is it possible to include a header file without linking to the external CSS inside it and link to the external CSS directly instead thus outside the head tags?

What I mean:


<?php include('header.php');?>

<link rel=stylesheet
href="http://www.domain.com/folder/file.css"
type="text/css">

<?php include('menu.php');?>

<--- Contents --->

<?php include('footer.php');?>

Instead of:


<?php include('header.php');?> (with the stylesheet link in header.php)

<?php include('menu.php');?>

<--- Contents --->

<?php include('footer.php');?>

StuartD
04-02-2008, 07:37 PM
yes it is.

A.J. Angel
04-02-2008, 07:45 PM
Cool! Thank you Stuart! :)