dsartain Posted March 3, 2006 Share Posted March 3, 2006 I am making a very, very basic page just to get things started and am trying to use the require() function to call the title page...just to get the syntax down....my main page is index.php as it calls heading.html (tried heading.inc as well) It will display the styles that are called in heading.html correctly...but not the styles in index.php...code as follows:[!--sizeo:4--][span style=\"font-size:14pt;line-height:100%\"][!--/sizeo--][b]index.php:[/b][!--sizec--][/span][!--/sizec--]<html><head><title>Don's Website</title></head><?php require('PHP/includes/heading.html');?><body class="body"><table class="music1"> <tr>.......etc..........</tr></table></body></html>[!--sizeo:4--][span style=\"font-size:14pt;line-height:100%\"][!--/sizeo--][b]heading.html:[/b][!--sizec--][/span][!--/sizec--]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link href="../../Style Sheets/style.css" rel="stylesheet" type="text/css" /> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /></head><body><div align="center" class="title"><img src="../../images/name2.gif" /></div><p class="links" ><a href="index.html">Home</a> | <a href="music/index.html"> Music </a> | <a href="contact.aspx"> Contact </a></p></body></html>I also tried adding <link href="../Style Sheets/style.css" rel="stylesheet" type="text/css" /> to the index.php page but it still didn't work....you can look at the very messed up version of my site at www.dsartain.com/index.phpAny help would be much appreciated. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts