LiamProductions Posted June 16, 2007 Share Posted June 16, 2007 Should i make my site require the css file? Link to comment https://forums.phpfreaks.com/topic/55840-css-require/ Share on other sites More sharing options...
redarrow Posted June 16, 2007 Share Posted June 16, 2007 i personally use include("") statement but a lot of exsperts use requir e_once("") statement all about prefrence i say? Link to comment https://forums.phpfreaks.com/topic/55840-css-require/#findComment-275865 Share on other sites More sharing options...
soycharliente Posted June 16, 2007 Share Posted June 16, 2007 Have you considered not using PHP to include it? <link rel="stylesheet" href="/css/style.css" type="text/css" media="screen" /> Link to comment https://forums.phpfreaks.com/topic/55840-css-require/#findComment-275877 Share on other sites More sharing options...
Wuhtzu Posted June 16, 2007 Share Posted June 16, 2007 Use charlieholders method. CSS should be included via pure markup... xhtml, html or xml. <head> <link rel="stylesheet" href="style.css" type="text/css"> </head> Link to comment https://forums.phpfreaks.com/topic/55840-css-require/#findComment-275897 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.