LiamProductions Posted June 16, 2007 Share Posted June 16, 2007 Should i make my site require the css file? Quote 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? Quote 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" /> Quote 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> Quote Link to comment https://forums.phpfreaks.com/topic/55840-css-require/#findComment-275897 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.